Module aoc::util::hash

source ·
Expand description

Provides fast HashSet and HashMap implementations based on a simplified implementation of the fast Rust C hash algorithm also used by Firefox. By default, Rust’s HashMap and HashSet use a DDoS resistant but slower hashing algorithm. FxHasher is much faster (between 2x to 5x from my testing).

Structs§

Constants§

  • K 🔒
    Simplified implementation, in particular running on a system with 64 bit usize is assumed.

Traits§

Type Aliases§