Skip to content

Actyx/intern-arc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interning library based on atomic reference counting

For the docs see docs.rs.

When developing please make use of cargo bench and cargo +nightly miri — the multithreading tests are sized such that they bring issues to the surface when run with miri (which is rather slow). Once you notice problems, debugging is easier with

export MIRIFLAGS=-Zmiri-disable-isolation
cargo +nightly miri test --features println -- --nocapture multithreading_hash

Another very useful tool is loom, run it with

LOOM_LOG=1 LOOM_LOCATION=1 LOOM_CHECKPOINT_INTERVAL=1 RUST_BACKTRACE=1 RUSTFLAGS="--cfg loom" cargo test --lib

Note: loom currently does not work because it doesn’t support Weak references.

License

At your option: Apache-2.0 or MIT

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE2.md
MIT
LICENSE-MIT.md

Stars

Watchers

Forks

Packages

No packages published

Languages