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