cht
cht provides a lockfree hash table that supports fully concurrent lookups, insertions, modifications, and deletions. The table may also be concurrently resized to allow more elements to be inserted. cht also provides a segmented hash table using the same lockfree algorithm for increased concurrent write performance.
Usage
In your Cargo.toml
:
= "^0.4.1"
Then in your code:
use HashMap;
use ;
let map = new;
let threads: =
.map
.collect;
let _: = threads.into_iter.map.collect;
License
cht is licensed under the MIT license.