Hash function class like std::hash
but uses wyhash.
More...
#include <wyhash.hpp>
Related Functions | |
(Note that these are not member functions.) | |
static uint64_t | wyhash_bytes (const void *key, size_t len) |
Hash function for arbitrary bytes using wyhash. | |
static uint64_t | wyhash_combine (uint64_t a, uint64_t b) |
Combine two hash values to produce a new hash value. | |
Hash function class like std::hash
but uses wyhash.
Specializations for all integral types as well as std::string
and std::pair
are provided. For all other types, it must be specialized by the user. Specializations should be implemented in terms of wyhash_bytes, wyhash_combine, and other WyHash specializations.