Function prehash::new_prehashed_map

source ·
pub fn new_prehashed_map<K, V>() -> PrehashedMap<K, V>
Available on crate feature std only.
Expand description

Constructs a new standard hash map with Prehashed keys and Passthru hashing.

Security

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