the hash of a string, by its bytes; any std::string_view, std::string and C string with the same characters hash the same
More...
#include <ADS/dictionary/FastHash.h>
|
| template<class A> |
| void | persist (A &a) |
| | the seed written to, or read from, the archive \( a \) [see Persistence.h]
|
| std::uint64_t | hash64 (std::string_view s) const noexcept |
| | hashBytes() of the characters of \( s \), on 64 bits
|
| std::size_t | operator() (std::string_view s) const noexcept |
| | the low bits of hash64() that a std::size_t holds
|
the hash of a string, by its bytes; any std::string_view, std::string and C string with the same characters hash the same
◆ is_avalanching
the hash needs no further mixing
◆ is_transparent
for the lookups by any string
◆ hash64()
| std::uint64_t ADS::FastHash< std::string_view >::hash64 |
( |
std::string_view | s | ) |
const |
|
inlinenodiscardnoexcept |
◆ operator()()
| std::size_t ADS::FastHash< std::string_view >::operator() |
( |
std::string_view | s | ) |
const |
|
inlinenodiscardnoexcept |
the low bits of hash64() that a std::size_t holds
◆ persist()
the seed written to, or read from, the archive \( a \) [see Persistence.h]
◆ seed
The documentation for this struct was generated from the following file: