Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jump.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ http://arxiv.org/abs/1406.2294
*/
package jump

// Hash consistently chooses a hash bucket number in the range [0, numBuckets) for the given key. numBuckets must be >= 1.
// Hash consistently chooses a hash bucket number in the range [0...numBuckets-1] for the given key. numBuckets must be >= 1.
func Hash(key uint64, numBuckets int) int32 {

var b int64 = -1
Expand Down