int-hash icon indicating copy to clipboard operation
int-hash copied to clipboard

Very fast, very simple hash algorithm designed for use in Rust integer hash maps & sets

int_hash crates.io Documentation

This crate attempts to provide the fastest option for integer key hashmaps in the Rust language.

While the function's performance does seem superior for 64-bit data in benchmarks, it does not clearly surpass fx-hash and seems to be more volatile in practice. Because of this I would recommend the rustc-hash crate for integer hash maps & sets.