Function portal::hash::rapidhash(const char *, const size_t)¶
Defined in File hash.h
Function Documentation¶
-
inline constexpr uint64_t portal::hash::rapidhash(const char *data, const size_t length)¶
Hashes raw character data with specified length.
This is the base overload used by all others. On GCC/Clang with constexpr support, this can be evaluated at compile-time for string literals.
- Parameters:
data – Pointer to character data to hash
length – Number of bytes to hash (excluding null terminator if present)
- Returns:
64-bit hash value