Descriptionruntime: use duff zero and copy to initialize memory
benchmark old ns/op new ns/op delta
BenchmarkCopyFat512 1307 329 -74.83%
BenchmarkCopyFat256 666 169 -74.62%
BenchmarkCopyFat1024 2617 671 -74.36%
BenchmarkCopyFat128 343 89.0 -74.05%
BenchmarkCopyFat64 182 48.9 -73.13%
BenchmarkCopyFat32 103 28.8 -72.04%
BenchmarkClearFat128 102 46.6 -54.31%
BenchmarkClearFat512 344 167 -51.45%
BenchmarkClearFat64 50.5 26.5 -47.52%
BenchmarkClearFat256 147 87.2 -40.68%
BenchmarkClearFat32 22.7 16.4 -27.75%
BenchmarkClearFat1024 511 662 +29.55%
Fixes issue 7624
Patch Set 1 #Patch Set 2 : diff -r 9eacb9c0d810 https://khr%40golang.org@code.google.com/p/go/ #
Total comments: 4
Patch Set 3 : diff -r 490c2d4fda2b https://khr%40golang.org@code.google.com/p/go/ #
Total comments: 2
Patch Set 4 : diff -r d797b2316601 https://khr%40golang.org@code.google.com/p/go/ #Patch Set 5 : diff -r a6cb2adc55eb https://khr%40golang.org@code.google.com/p/go/ #Patch Set 6 : diff -r a6cb2adc55eb https://khr%40golang.org@code.google.com/p/go/ #
MessagesTotal messages: 13
|