Skip to main content

Module fast

Module fast 

Source
Expand description

In-memory hashing: RapidHasher with a focus on speed.

Designed to maximize hashmap fetch and insert performance on most datasets.

This is a specific instantiation of the crate::inner module with the following settings:

  • AVALANCHE is disabled.
  • SPONGE is enabled.
  • COMPACT is disabled, unless building for WASM targets.
  • PROTECTED is disabled.

Type Aliasesยง

GlobalState
A [std::hash::BuildHasher] that uses a global seed and secrets, randomized only once on startup.
RandomState
A rapidhash equivalent to [std::hash::RandomState] that uses a random seed and secrets for minimal DoS resistance.
RapidHasher
A [std::hash::Hasher] inspired by crate::v3::rapidhash_v3 with a focus on speed and throughput.
SeedableState
A [std::hash::BuildHasher] that uses user-provided seed and secrets.