swisstable.hash

The D port of rapidhash and adapted for SwissTabled

Members

Functions

rapidhashOf
ulong rapidhashOf(K key, size_t seed)

rapidhash seeded hash for string, integer and pointer types in LDC. For other types and DMD, use D's built-in hashOf instead.

Variables

RapidSeed
enum size_t RapidSeed;

Default seed

Meta

Credits

Core algorithm is based on C's rapidhash. See rapidhash - Very fast by Nicolas De Carli