Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Major optimization to the safe version of xxhash on Go 1.7 (tip)
Based on https://docs.google.com/document/d/1vdAEAjYdzjnPA9WDOQ1e4e05cYVMpqSxJYZT33Cqw2g/edit tested with https://docs.google.com/document/d/1vdAEAjYdzjnPA9WDOQ1e4e05cYVMpqSxJYZT33Cqw2g/edit# name old time/op new time/op delta XXChecksum32-8 1.35µs ±12% 0.67µs ± 3% -50.49% (p=0.008 n=5+5) XXChecksumString32-8 1.78µs ± 2% 1.21µs ± 1% -32.06% (p=0.008 n=5+5) XXChecksum64-8 1.14µs ± 5% 0.35µs ± 2% -69.70% (p=0.008 n=5+5) XXChecksumString64-8 1.68µs ± 1% 0.86µs ± 1% -48.74% (p=0.008 n=5+5)
- Loading branch information