Releases: Gregory-Meyer/cht
Releases · Gregory-Meyer/cht
0.5.0
Important notes for users:
- This library is now licensed under the AGPL 3.0 (or later) license
cht::SegmentedHashMap
has been removed, and my recommendation is to usecht::HashMap
instead- Please don't use this library, it's only than a fun project for me and I make no guarantees as to its correctness
Pull Requests merged in this version:
0.4.1: Add missing constructors to SegmentedHashMap, update documentation
0.4.0: Segmented hash maps, more reliable deferred function invocation in test cases
Pre-release
- #14 (note that StripedHashMap was renamed to SegmentedHashMap)
map::tests::util::run_deferred
(nowtest_util::run_deferred
) allocates memory in addition to flushing the thread-local cache. This seems to reliably force the invocation of all deferred functions.
0.3.0: Fix double free and consistency bugs, add `remove_if`, revise `modify` and` insert_or_modify`
v0.2.0: Relaxed memory orderings, RMW API, aHash default hasher
v0.1.2: ensure drop() runs for all Bucket and BucketArray objects (#2)
Bucket
s andBucketArray
s are dropped when no longer needed, so no more memory leaksmod set
removed, since it's dead code at the moment- insert/get operations will swing the current bucket array one link forward and no more instead of however many forward it feels like at the moment
- refactor
HashMap
to get rid of theBucketAndParentPtr
type
v0.1.1
Minor bugfix; set default hasher to FxBuildHasher so the template argument can be elided.
v0.1.0: update Cargo.toml for crates.io
Contains an initial implementation of a concurrent hash map. Future versions will add:
- a hash set
- atomic read-modify-write (RMW) operations
- less restrictive memory orderings (they are sequentially consistent for now)