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