Luna::strhash64

constexpr u64 strhash64(const c8 *s, u64 h=0)

A specialization of strhash that computes 64-bit hash code.

Parameters

  • in s

    A pointer to one null-terminated string to compute.

  • in h

    A initial hash value. See memhash for details.

Return value

Returns the hash code of the string.