Skip to main content

FxHashMap

Type Alias FxHashMap 

Source
pub type FxHashMap<K, V> = HashMap<K, V, FxBuildHasher>;
Expand description

Type alias for the persistent hash map used by NixAttrs and Env.

Uses FxBuildHasher (fast multiplication-based hash) instead of the default RandomState. This is optimal for Symbol(u32) keys where the hash is a single multiply-shift — no SipHash overhead.

Aliased Type§

pub struct FxHashMap<K, V> { /* private fields */ }