1
0
mirror of https://github.com/golang/go synced 2024-10-07 20:31:24 -06:00
go/src/pkg/hash
Pascal S. de Kloe 9feddd0bae hash: more efficient memory allocation
Feed append the complete content at once.

BenchmarkAdler32KB       1000000              2534 ns/op         404.05 MB/s
BenchmarkCrc32KB          500000              4757 ns/op         215.26 MB/s
BenchmarkCrc64KB          500000              4769 ns/op         214.70 MB/s
BenchmarkFnv32KB         1000000              2417 ns/op         423.64 MB/s
BenchmarkFnv32aKB        1000000              2408 ns/op         425.23 MB/s
BenchmarkFnv64KB          500000              4262 ns/op         240.21 MB/s
BenchmarkFnv64aKB         500000              4234 ns/op         241.83 MB/s

R=iant, rsc, r, minux.ma
CC=golang-dev
https://golang.org/cl/5937053
2012-04-10 15:15:39 -04:00
..
adler32 hash: more efficient memory allocation 2012-04-10 15:15:39 -04:00
crc32 hash: more efficient memory allocation 2012-04-10 15:15:39 -04:00
crc64 hash: more efficient memory allocation 2012-04-10 15:15:39 -04:00
fnv hash: more efficient memory allocation 2012-04-10 15:15:39 -04:00
hash.go crypto/hmac: Add HMAC-SHA224 and HMAC-SHA384/512 2012-01-18 10:36:28 -05:00
test_cases.txt mv src/lib to src/pkg 2009-06-09 09:53:44 -07:00
test_gen.awk mv src/lib to src/pkg 2009-06-09 09:53:44 -07:00