• Russ Cox's avatar
    strconv: put decimal on stack · cb51fdc0
    Russ Cox authored
    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
    cb51fdc0
Name
Last commit
Last update
..
Makefile Loading commit data...
atob.go Loading commit data...
atob_test.go Loading commit data...
atof.go Loading commit data...
atof_test.go Loading commit data...
atoi.go Loading commit data...
atoi_test.go Loading commit data...
decimal.go Loading commit data...
decimal_test.go Loading commit data...
fp_test.go Loading commit data...
ftoa.go Loading commit data...
ftoa_test.go Loading commit data...
internal_test.go Loading commit data...
itoa.go Loading commit data...
itoa_test.go Loading commit data...
quote.go Loading commit data...
quote_test.go Loading commit data...
testfp.txt Loading commit data...