Descriptionadler32: speed up ~40% by avoiding bounds checks
before & after:
adler32.BenchmarkGolden 100000 14747 ns/op
adler32.BenchmarkGolden 200000 8761 ns/op
Found by profiling PNG encoding.
Patch Set 1 #Patch Set 2 : diff -r 4f0fd7d49dfa https://go.googlecode.com/hg/ #
Total comments: 1
Patch Set 3 : diff -r 4f0fd7d49dfa https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 982b40af24fb https://go.googlecode.com/hg/ #
MessagesTotal messages: 9
|