strconv: extend fast parsing algorithm to ParseFloat(s, 32)
benchmark old ns/op new ns/op delta BenchmarkAtof32Decimal 215 73 -65.72% BenchmarkAtof32Float 233 83 -64.21% BenchmarkAtof32FloatExp 3351 209 -93.76% BenchmarkAtof32Random 1939 260 -86.59% R=rsc CC=golang-dev, remy https://golang.org/cl/6294071
Showing
Please
register
or
sign in
to comment