musemap 0.1.0-alpha

Fast DoS-resistant hashmap based on MuseAir hash algorithm.
Documentation
  • Coverage
  • 7.14%
    1 out of 14 items documented1 out of 12 items with examples
  • Size
  • Source code size: 4.07 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.86 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 6s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • eternal-io

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));