]> Cypherpunks repositories - gostls13.git/commit
fmt/fmt_test.go: count mallocs in a few more cases.
authorRob Pike <r@golang.org>
Fri, 2 Sep 2011 01:47:15 +0000 (11:47 +1000)
committerRob Pike <r@golang.org>
Fri, 2 Sep 2011 01:47:15 +0000 (11:47 +1000)
commitb349cd2b0ad12c2ebe67ca2c6c1aa01bc9991520
treeb77e0c3652cc5e67bb3bf8c550402393753b1b47
parent2cf66c1d946e1c5646f063f07bc0bd89406a9c9a
fmt/fmt_test.go: count mallocs in a few more cases.
Interesting that Fprintf can do zero mallocs.
(Sprintf must allocate the returned string.)

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/4977049
src/pkg/fmt/fmt_test.go