Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JumpHash ¶ added in v1.9.0
JumpHash consistently chooses a bucket in the range [0, numBuckets) for the given key. Zero or negative numBuckets are treated as numBuckets = 1. See: https://arxiv.org/pdf/1406.2294.pdf
Go implementation from https://github.com/go-distsys/jumphash.
func JumpHashStr ¶ added in v1.9.0
JumpHashStr is like JumpHash, but takes a string key and xxh3-hashes it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.