Function onejoker::cards::hashes::ojh_uhash_32

source ·
pub const fn ojh_uhash_32(inp: u32, param: u32) -> u32
Expand description

wiki | 32-bit universal hash

Simple and fast 32-bit integer-to-integer universal hash function, useful for making perfect hashes for small tables. Based on Chris Wellons’ prospector.