Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChooseBucket ¶
Use jump consistent has to choose a bucket for a given key Outputs a number in the range [0, numOfBuckets]
func ChooseBucketString ¶
Call ChooseBucket (jump consistent hash) after converting a string key to uint64 Returns the hash (key as uint64) and the bucket number
func HashString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.