Skip to main content

Crate xor_hasher

Crate xor_hasher 

Source
Expand description

A library that provides Hasher and BuildHasher objects that directly XORs bytes into an internal state without using a hash function. They are intended to improve the performance of hash-based data structures when the input keys to be hashed are not user-controlled and are already highly randomized (e.g. SHA256 hashes).

Structs§

XorHashBuilder
A BuildHasher object that builds an XorHasher.
XorHasher
A Hasher object that XORs in bytes directly.

Type Aliases§

XorHashMap
A HashMap that uses XorHashBuilder for hashing.
XorHashSet
A HashSet that uses XorHashBuilder for hashing.