Descriptionruntime: add more specialized type algorithms
The change adds specialized type algorithms
for slices and types of size 8/16/32/64/128.
It significantly accelerates chan and map operations
for most builtin types as well as user structs.
benchmark old,ns/op new,ns/op
BenchmarkChanUncontended 226 94
(on Intel Xeon E5620, 2.4GHz, Linux 64 bit)
Patch Set 1 #Patch Set 2 : diff -r 2165d97e8e19 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 2165d97e8e19 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 2165d97e8e19 https://go.googlecode.com/hg/ #Patch Set 5 : diff -r 2165d97e8e19 https://go.googlecode.com/hg/ #Patch Set 6 : diff -r 2165d97e8e19 https://go.googlecode.com/hg/ #
Total comments: 1
MessagesTotal messages: 7
|