github bluuewhale/hash-smith v0.1.5

latest releases: v0.1.8, v0.1.7, v0.1.6...
2 months ago

Changelog

  • Fixed SwissMap and SwissSet to only grow (2x resize) when rehashing due to exceeding maxLoad; tombstone-cleanup rehash now keeps the same capacity to prevent unbounded growth under heavy delete workloads.
  • Fixed SwissMap#retainAll / removeAll (via JDK AbstractCollection implementations) potentially throwing NullPointerException due to iterator invalidation when a tombstone-cleanup rehash occurred during iteration.
  • Added SwissMap#removeWithoutTombstone for efficient deletions without leaving tombstones for benchmark tests
  • SwissMap SIMD probe now loads control bytes once per group and reuses the vector for fingerprint/empty/tombstone masks to cut repeated loads.
  • Added a SwissMap probe group-visit cap to prevent infinite probing when tombstones saturate the table.

Full Changelog: v0.1.3...v0.1.5

Don't miss a new hash-smith release

NewReleases is sending notifications on new releases.