Function ahash_str

Source
pub fn ahash_str(input: &str) -> u64
Expand description

Uses the ahash crate: https://crates.io/crates/ahash

  • Faster than djb2.
  • Randomized between each run of an application.
  • Non-cryptographic.
  • One way hash.

Profiled

djb2 time: 4.1869 ns

ahash time: 1.5757 ns