Skip to main content

FxHashMap

Type Alias FxHashMap 

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

A HashMap using FxHasher instead of the default SipHash.

Much faster for the small integer keys (node indices, (usize, usize) edges) the mesh code hashes in tight loops.

Aliased Typeยง

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