Closed jalil-salame closed 8 months ago
I resolved all review questions!
Looking at it again, we probably want to depend explicitly on ahash for the preserve_order feature.
https://www.reddit.com/r/rust/comments/17xgn0t/gxhash_a_new_extremely_fast_and_robust_hashing/ to look at
Looks like it's nightly only, but with plans to use stable. I'll take a look
Uses AHash instead of SipHash which is faster.
Tested FxHash, no noticeable improvements over AHash but it requires a lot more changes (
HashMap::new
andHashMap::with_capacity
are nto available, you have to use the_with_hasher
versions).11% improvement to realistic.
Overall about 10% improvements
hashbrown
advertises a smaller hashmap size which seems to improve serialization by ~30%.