Expand description
Allocator-aware collections.
HashMap<K, V, A>— type alias forhashbrown::HashMap<K, V, DefaultHashBuilder, A>. Unordered iteration; allocator-aware on stable via hashbrown’sallocator-api2feature.
No allocator-aware BTreeMap: there’s no stable impl, and no
current consumer parameterises BTreeMap by allocator. Callers that
want ordered iteration can sort a HashMap iterator at consumption
time.
Structs§
- Default
Hash Builder - Default hash builder for the
Stype parameter ofHashMapandHashSet.
Type Aliases§
- HashMap
- SwissTable hash map. Re-export of
hashbrown::HashMap<K, V, S, A>with the upstream parameter order preserved:K, V, S, A. TheSslot lets callers pin a deterministic hasher (e.g.foldhash::fast::FixedState) which the shared-memory state cache requires; the heap-backed defaultDefaultHashBuilderisfoldhash::fast::RandomState.