Descriptionfmt: speed up floating point print, clean up some code
%g down to two mallocs from four. Also a mild speedup.
fmt_test.BenchmarkSprintfFloat 3016 2703 -10.38%
Fixes issue 2557.
Patch Set 1 #
Total comments: 1
Patch Set 2 : diff -r 0e5409a34221 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 0e5409a34221 https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 0e5409a34221 https://go.googlecode.com/hg/ #
MessagesTotal messages: 6
|