Function portal::hash::rapidhash(const std::string&)¶
Defined in File hash.h
Function Documentation¶
-
inline constexpr uint64_t portal::hash::rapidhash(const std::string &str)¶
Hashes a std::string.
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