GT2/Ejectable/node_modules/string-hash-64
Ren Juan 06c1a5835d set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
..
.npmignore set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
.travis.yml set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
README.md set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
index.js set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
package.json set clean start from expo 4.10 2021-08-16 00:14:59 +00:00
test.js set clean start from expo 4.10 2021-08-16 00:14:59 +00:00

README.md

string-hash-64

Build Status js-standard-style npm version

An improved version of djb2. Generates 64 bit integer hashes. Returns a number between 0 and 18446744073709552000.

Repository includes test for hashing 65 million strings with zero collisions. That's 400k+ less than what you get with djb2.

Performs as fast as djb2, only the generated hashes will consume almost twice memory in size.