Skip to main content

zhc_utils/
fast_hash.rs

1use std::collections::{HashMap, HashSet};
2
3// Todo -> Implement Fx hasher and use it in the fast map and fast set
4
5/// A hash map optimized for fast hashing performance.
6///
7/// Currently an alias for `HashMap`, but will be replaced with a faster
8/// hash implementation in the future.
9pub type FastMap<K, V> = HashMap<K, V>;
10
11/// A hash set optimized for fast hashing performance.
12///
13/// Currently an alias for `HashSet`, but will be replaced with a faster
14/// hash implementation in the future.
15pub type FastSet<K> = HashSet<K>;