Type Definition prehash::PrehashedMap

source ·
pub type PrehashedMap<K, V> = HashMap<Prehashed<K, u64>, V, BuildHasherDefault<Passthru>>;
Available on crate feature std only.
Expand description

A standard hash map with Prehashed keys and Passthru hashing.

Security

If the hash function used for prehashing is weak, the map may be vulnerable to Denial of Service attacks.