Descriptionstrconv: put decimal on stack
This makes decimal a good test
case for the escape analysis.
With escape analysis:
benchmark old ns/op new ns/op delta
BenchmarkAtof64Decimal 1954 243 -87.56%
BenchmarkAtof64Float 2008 293 -85.41%
BenchmarkAtof64FloatExp 10106 8814 -12.78%
BenchmarkAtof64Big 5113 3486 -31.82%
Patch Set 1 #Patch Set 2 : diff -r 1edd4df99360 https://go.googlecode.com/hg #Patch Set 3 : diff -r 75385610b63d https://go.googlecode.com/hg #
Total comments: 1
Patch Set 4 : diff -r 75385610b63d https://go.googlecode.com/hg #Patch Set 5 : diff -r 75385610b63d https://go.googlecode.com/hg #
MessagesTotal messages: 5
|