]> Cypherpunks repositories - gostls13.git/commit
make Format about twice as fast by removing allocations, using a bytes.Buffer
authorRob Pike <r@golang.org>
Thu, 7 Jan 2010 03:36:54 +0000 (14:36 +1100)
committerRob Pike <r@golang.org>
Thu, 7 Jan 2010 03:36:54 +0000 (14:36 +1100)
commit676f9dfa067ec4990b45c7f91364c680d04beb99
tree36da2d6cc467d438a74b03462cf56478f3df5d31
parent7a5852b50ed8109d778fe3b24b310e9bbbe7a1b8
make Format about twice as fast by removing allocations, using a bytes.Buffer
add a benchmark

R=rsc
CC=golang-dev
https://golang.org/cl/181164
src/pkg/time/format.go
src/pkg/time/time_test.go