FxSmallMap

Type Alias FxSmallMap 

Source
pub type FxSmallMap<const N: usize, K, V> = SmallMap<N, K, V, FxBuildHasher>;
Expand description

Type alias for SmallMap using rustc_hash::FxBuildHasher as the heap hasher.

Requires the fxhash feature.

Aliased Type§

pub enum FxSmallMap<const N: usize, K, V> {
    Heap(HashMap<K, V, FxBuildHasher>),
    Inline(Inline<N, K, V, FxBuildHasher, RandomState<false, true, false, false>, 16>),
}

Variants§

§

Heap(HashMap<K, V, FxBuildHasher>)

Heap-allocated storage using hashbrown::HashMap.

§

Inline(Inline<N, K, V, FxBuildHasher, RandomState<false, true, false, false>, 16>)

Inline storage with SIMD-accelerated lookups.