Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hasher ¶
Hasher is responsible for generating unsigned, 64 bit hash of provided byte slice. Hasher should minimize collisions (generating same hash for different byte slice) and while performance is also important fast functions are preferable (i.e. you can use FarmHash family).
func NewDefaultHasher ¶
func NewDefaultHasher() Hasher
NewDefaultHasher returns an instance of xxhash package which implements the 64-bit variant of xxHash (XXH64) as described at http://cyan4973.github.io/xxHash/.
Click to show internal directories.
Click to hide internal directories.