Kixiron / lasso

A fast, concurrent string interner
Apache License 2.0
137 stars 20 forks source link

update dashmap and hashbrown #49

Closed conradludgate closed 2 months ago

conradludgate commented 3 months ago

Performance improved drastically for me on my M2 for the ThreadedRodeo.

Main changes:

  1. Update hashbrown. The only change this caused is replacing raw_table() with raw_table_mut().
  2. Update dashmap.
    • The raw-api of dashmap changed considerable. It now uses RawTable instead of HashMap to avoid double hashing.
  3. Several lint fixes i. max_value() -> MAX. ii. Use the hash_one api stabalised in 1.71.0
  4. Fix multi-threaded tests that were never enabled due to bad cfg.

Also includes #45 Fixes #46 Fixes #27