Expand description
Provides replacements for std::hash
items using foldhash
.
Also provides some additional items beyond the standard library.
Structsยง
- A
Hasher
instance implementing foldhash, optimized for speed. - Deterministic hasher based upon a random but fixed state.
- A
BuildHasher
forfast::FoldHasher
that always has the same fixed seed. - A pre-hashed value of a specific type. Pre-hashing enables memoization of hashes that are expensive to compute.
BuildHasher
for types that already contain a high-quality hash.- A
BuildHasher
that results in aPassHasher
. - A no-op hash that only works on
u64
s. Will panic if attempting to hash a type containing non-u64 fields. - A
BuildHasher
forfast::FoldHasher
that is randomly initialized.