Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gzhttp: Use crc32.Update instead of crc32.New
Skips another allocation: name old time/op new time/op delta 2kJitter-8 29.4µs ± 4% 29.0µs ± 3% -1.23% (p=0.017 n=19+24) name old speed new speed delta 2kJitter-8 69.8MB/s ± 4% 70.6MB/s ± 3% +1.23% (p=0.016 n=19+24) name old alloc/op new alloc/op delta 2kJitter-8 3.41kB ± 4% 3.34kB ± 4% -2.12% (p=0.001 n=20+25) name old allocs/op new allocs/op delta 2kJitter-8 16.0 ± 0% 15.0 ± 0% -6.25% (p=0.000 n=20+25)
- Loading branch information