create_hash_map

Function create_hash_map 

Source
pub fn create_hash_map<K, V>() -> HashMap<K, V, RandomState>
Expand description

Create a new HashMap with optimized hasher for ASS-RS use cases

Uses ahash for consistent performance across platforms with DoS resistance. Automatically handles no_std vs std HashMap selection.

ยงExample

use ass_core::utils::hashers::create_hash_map;

let mut map = create_hash_map::<String, i32>();
map.insert("key".to_string(), 42);