concurrent-interner

Crates.ioconcurrent-interner
lib.rsconcurrent-interner
version0.1.0
sourcesrc
created_at2022-07-03 11:57:21.614758
updated_at2022-07-03 11:57:21.614758
descriptionA string interner usable from multiple threads.
homepage
repository
max_upload_size
id618314
size77,251
Varun Gandhi (typesanitizer)

documentation

README

concurrent-interner: Conveniently interning strings from multiple threads

Request for help: I am looking for someone experienced with unsafe Rust to audit the unsafe code. It is MIRI clean as far as I can tell, but MIRI take a very long time to run, making it unsuitable for CI.

This crate provides an string interner which is safe to use from multiple threads. You can think of it as the mash up of a concurrent hash map and a single-threaded interner.

Documentation:

  • See Contributing before filing issues or submitting a PR.
  • See Design for the overall goals and the code works at a high-level. Hopefully, it helps you decide when you should (not) use this crate. Or you can directly read the source code.
  • See Performance to see how you can run the accompanying benchmarks, as well as results for some workloads.
Commit count: 0

cargo fmt