Function hash(const char *)¶
Defined in File Utils.hpp
Function Documentation¶
-
unsigned int hash(const char *str)¶
DJB2 algorithm hashing function.
Note
constexpr used for compile-time
Note
inline for better perf
- Parameters:
str –
- Returns:
constexpr unsigned int