//! rapidstr2int — fast, dependency-free string -> 32-bit unsigned integer hashing.
//!
//! Implements FNV-1a (Fowler–Noll–Vo) over the UTF-8 bytes of the input. Deterministic
//! and stable across platforms; useful for hash tables, shard keys, bloom filters and
//! cache bucketing.
const FNV_OFFSET: u32 = 0x811c_9dc5;
const FNV_PRIME: u32 = 0x0100_0193;
/// Hash a string to a 32-bit unsigned integer (FNV-1a over UTF-8 bytes).
/// Same hash as a fixed-width 8-char lowercase hex string.