Open ronag opened 1 month ago
If you're willing to switch runtimes, Bun has hashing built in and is much faster. Pretty much drop in replacement for Node.
Otherwise, I don't really see any reason to use this over xxhash-wasm.
You're right. I should probably delete the repository and destroy any evidence that this project ever existed.
This repo is currently pretty much 1:1 in terms of performance relative to xxhash-wasm. What could make this faster would be to be implemented with V8 fast api (though it would probably only work with Node then).
Otherwise, I don't really see any reason to use this over xxhash-wasm. Other than if you want to the result into a Buffer rather than a BigInt.