pierrec / js-xxhash

Javascript implementation of xxHash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Version that uses BigInt

Daniel15 opened this issue · 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?

Totally agree. Want to send a pull request?

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.