Crate metrohash[][src]

A Rust implementation of the MetroHash algorithm.

MetroHash is a high quality, high performance hash algorithm

Example

use metrohash::MetroHashMap;

let mut hash = MetroHashMap::default();
hash.insert(1000, "1000");
assert_eq!(hash.get(&1000), Some(&"1000"));

Structs

MetroHash64
MetroHash128

Type Definitions

MetroBuildHasher

A builder for MetroHash.

MetroHash
MetroHashMap

A HashMap using a default MetroHash.

MetroHashSet

A HashSet using a default MetroHash.