]> Cypherpunks repositories - gostls13.git/commit
avoid an allocation inside bytes.Buffer by providing a static array.
authorRob Pike <r@golang.org>
Fri, 4 Dec 2009 08:26:08 +0000 (00:26 -0800)
committerRob Pike <r@golang.org>
Fri, 4 Dec 2009 08:26:08 +0000 (00:26 -0800)
commit4ed57173b4c21e113bf8cae4984623eea220aa15
treeec46bdcce5e13953d480eb9aea75f3cfaa570aca
parentf2c7a20142afdbeed1d96e074aeddeaa470f3124
avoid an allocation inside bytes.Buffer by providing a static array.

R=rsc
https://golang.org/cl/165058
src/pkg/bytes/buffer.go