commit | cb51fdc00756ca2960769eca0da57e0c6e244a1b | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Thu Aug 25 17:54:14 2011 -0400 |
committer | Russ Cox <rsc@golang.org> | Thu Aug 25 17:54:14 2011 -0400 |
tree | 9f70af19e98d0a5012d6f451d8e3c8a61b170662 | |
parent | dd0b8e7975e6965008f377d1194c80bf33fc995a [diff] |
strconv: 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% R=golang-dev, gri CC=golang-dev https://golang.org/cl/4861042