Expand description
The hash maps and sets rustymath uses. Hashing is foldhash’s fast hasher with its fixed seed (FixedState), with hash_one marked #[inline(always)]. With one seed in every process, maps hash and iterate alike between runs, and instruction counts repeat. hashbrown 0.17 hashes every key through BuildHasher::hash_one, and core’s default body for it has no inline hint, so incremental builds can call it out of line on every lookup.
Structs§
Traits§
- Hash
MapExt newandwith_capacityforHashMap, which hashbrown gives only for its default hasher.- Hash
SetExt newandwith_capacityforHashSet, which hashbrown gives only for its default hasher.