9#define FNV_OFFSET_BASIS 0xcbf29ce484222325
10#define FNV_PRIME 0x100000001b3
14 for (
usize i = 0; str[i]; i++) {
22 return strcmp(a, b) == 0;
bool ps_str_is_equal(STR a, STR b)
Compares the given strings.
hash_t ps_str_hash(STR str)
Hashes the given string according to the FNV-1a algorithm.
Hashing and equality functions for common data types.
u64 hash_t
Numeric type for hashes.