]> Cypherpunks repositories - gostls13.git/commit
step 2 of the great buffer shift.
authorRob Pike <r@golang.org>
Mon, 21 Sep 2009 19:20:15 +0000 (12:20 -0700)
committerRob Pike <r@golang.org>
Mon, 21 Sep 2009 19:20:15 +0000 (12:20 -0700)
commitfed4770685cbec361636ba796af0a34f13be79b2
treea72df200d684802b179e7d8d383364cfc7faf2fd
parentde0d762a0ffa01056c4e3efe7efe73d029237821
step 2 of the great buffer shift.
make strings.Buffer handle strings and bytes with comparable efficiency.
if ok, next step will be to move this code to bytes.Buffer and terminate
strings.Buffer's short happy life.

R=rsc
DELTA=292  (212 added, 0 deleted, 80 changed)
OCL=34837
CL=34849
src/pkg/base64/base64_test.go
src/pkg/bufio/bufio_test.go
src/pkg/gob/encoder_test.go
src/pkg/strings/buffer.go
src/pkg/strings/buffer_test.go