Skip to main content

hashmap_with_capacity

Function hashmap_with_capacity 

Source
pub fn hashmap_with_capacity<K, V>(capacity: usize) -> HashMap<K, V>
Expand description

Construct a HashMap pre-allocated for at least capacity entries.