Skip to content
This repository has been archived by the owner on Jun 17, 2018. It is now read-only.

Latest commit

 

History

History
19 lines (13 loc) · 289 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 289 Bytes

jumphash

A Fast, Minimal Memory, Consistent Hash Algorithm

page:http://arxiv.org/pdf/1406.2294v1.pdf

##Usage

  var jumphash = require('jumphash')
  var location = jumphash(2333,16)
  assert(location >= 0);
  assert(location < 16);

License

MIT