Skip to content

Releases: Gregory-Meyer/cht

0.5.0

13 Dec 05:02
89fa285
Compare
Choose a tag to compare
0.5.0 Pre-release
Pre-release

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 use cht::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

11 Mar 01:56
b7770a0
Compare
Choose a tag to compare

0.4.0: Segmented hash maps, more reliable deferred function invocation in test cases

10 Mar 06:54
cf85f62
Compare
Choose a tag to compare
  • #14 (note that StripedHashMap was renamed to SegmentedHashMap)
  • map::tests::util::run_deferred (now test_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`

05 Mar 22:11
5db7382
Compare
Choose a tag to compare

v0.2.0: Relaxed memory orderings, RMW API, aHash default hasher

28 Feb 07:58
fdf573b
Compare
Choose a tag to compare

There's a double free somewhere in here, which is fun.

v0.1.2: ensure drop() runs for all Bucket and BucketArray objects (#2)

26 Jun 02:03
c0266d9
Compare
Choose a tag to compare
  • Buckets and BucketArrays are dropped when no longer needed, so no more memory leaks
  • mod 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 the BucketAndParentPtr type

v0.1.1

18 Jun 01:41
68ae808
Compare
Choose a tag to compare
v0.1.1 Pre-release
Pre-release

Minor bugfix; set default hasher to FxBuildHasher so the template argument can be elided.

v0.1.0: update Cargo.toml for crates.io

18 Jun 01:35
370d6df
Compare
Choose a tag to compare
Pre-release

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)