js-xxhash icon indicating copy to clipboard operation
js-xxhash copied to clipboard

Version that uses BigInt

Open Daniel15 opened this issue 5 years ago • 2 comments

It would be nice to get a version of this xxHash64 library that uses BigInt rather than the userland UInt64 implementation, in order to improve performance in environments that support BigInt. What do you think?

Daniel15 avatar Jul 27 '19 04:07 Daniel15

Totally agree. Want to send a pull request?

pierrec avatar Jul 27 '19 11:07 pierrec

Sure, I can try to take a look. Will see if I can figure out a way to have a version that uses native bigints and another version that uses a userland implementation, without duplicating much code.

Daniel15 avatar Jul 27 '19 19:07 Daniel15