Function portal::hash::rapidhash(const char *)¶
Defined in File hash.h
Function Documentation¶
-
inline constexpr uint64_t portal::hash::rapidhash(const char *str)¶
Hashes a const char* using strlen for length.
Delegates to the data/length overload using the string’s c_str() and length(). Note: Not constexpr even on GCC/Clang because std::string is not a literal type.
- Parameters:
str – The string to hash
- Returns:
64-bit hash value