1 unstable release
new 0.1.0-alpha | Dec 13, 2024 |
---|
#2373 in Algorithms
133 downloads per month
5KB
73 lines
MuseMap
Fast DoS-resistant hashmap based on MuseAir hash algorithm.
Note that due to MuseAir is non-crypto, you should not use this crate for cryptographic purpose.
Quick usage
use musemap::{HashMap, HashMapExt};
let mut map = HashMap::new();
map.insert(1, 2);
map.insert(3, 4);
assert_eq!(map.get(&1), Some(&2));
assert_eq!(map.get(&3), Some(&4));
Dependencies
~165KB