2 ms·
I didn't put a lot of consideration into the algorithm in particular. I was going to do SHA-256 but somebody told me Blake was faster. I haven't tested the per
by AndyKelley 8y ago
I didn't put a lot of consideration into the algorithm in particular. I was going to do SHA-256 but somebody told me Blake was faster.
I haven't tested the performance of any other algorithms, but that's a completely swappable component. I'm sure the hash function will be swapped with a different one before 1.0.0 is done.
- tiehuis 8y agoAs an example, xxHash [1] would probably get you an easy 5-10x performance improvement over Blake2b. So there are some easy improvements if the cryptographic requirement is not needed. [1] http://cyan4973.github.io/xxHash/ http://cyan4973.github.io/xxHash/
- rurban 8y agoor better wyhash. xxHash and xxh3 still has some weaknesses.