1
0
mirror of https://github.com/golang/go synced 2024-11-20 08:44:39 -07:00
go/src/pkg
Rob Pike fed4770685 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
2009-09-21 12:20:15 -07:00
..
archive/tar unused imports 2009-09-17 10:27:04 -07:00
base64 step 2 of the great buffer shift. 2009-09-21 12:20:15 -07:00
big defining package block names must override 2009-09-09 01:01:39 -07:00
bignum more "declared and not used". 2009-09-15 09:41:59 -07:00
bufio step 2 of the great buffer shift. 2009-09-21 12:20:15 -07:00
bytes rename bytes.Buffer.Data() to bytes.Buffer.Bytes() 2009-09-16 15:15:00 -07:00
compress use buf.String() instead of string(buf.Bytes()) 2009-09-17 23:51:06 -07:00
container add heap.Remove 2009-09-16 10:43:49 -07:00
crypto unused imports 2009-09-17 10:27:04 -07:00
datafmt use buf.String() instead of string(buf.Bytes()) 2009-09-17 23:51:06 -07:00
debug fix build again; this time for sure. sigh 2009-09-18 12:56:18 -07:00
ebnf unused imports 2009-09-17 10:27:04 -07:00
exec more "declared and not used". 2009-09-15 09:41:59 -07:00
exvar use buf.String() instead of string(buf.Bytes()) 2009-09-17 23:51:06 -07:00
flag unused imports 2009-09-17 10:27:04 -07:00
fmt unused imports 2009-09-17 10:27:04 -07:00
go - filter trailing whitespace 2009-09-19 11:52:40 -07:00
gob step 2 of the great buffer shift. 2009-09-21 12:20:15 -07:00
hash convert non-low-level non-google pkg code 2009-08-12 13:19:17 -07:00
http use buf.String() instead of string(buf.Bytes()) 2009-09-17 23:51:06 -07:00
image Unit tests for image/png, based off the semi-official pngsuite from 2009-09-20 19:08:03 -07:00
io unused imports 2009-09-17 10:27:04 -07:00
json use buf.String() instead of string(buf.Bytes()) 2009-09-17 23:51:06 -07:00
log more "declared and not used". 2009-09-15 09:41:59 -07:00
malloc convert non-low-level non-google pkg code 2009-08-12 13:19:17 -07:00
math more "declared and not used". 2009-09-15 09:41:59 -07:00
net unused imports 2009-09-17 10:27:04 -07:00
once convert low-level (used by testing) packages to 2009-08-12 13:18:37 -07:00
os use buf.String() instead of string(buf.Bytes()) 2009-09-17 23:51:06 -07:00
path more "declared and not used". 2009-09-15 09:41:59 -07:00
rand convert non-low-level non-google pkg code 2009-08-12 13:19:17 -07:00
reflect unused imports 2009-09-17 10:27:04 -07:00
regexp use buf.String() instead of string(buf.Bytes()) 2009-09-17 23:51:06 -07:00
rpc unused imports 2009-09-17 10:27:04 -07:00
runtime changed 5c calling convention to use stack exclusively for in 2009-09-18 16:45:41 -07:00
sort Build fix: fix typo in sort pkg. 2009-08-28 02:27:32 -07:00
strconv unused imports 2009-09-17 10:27:04 -07:00
strings step 2 of the great buffer shift. 2009-09-21 12:20:15 -07:00
sync convert low-level (used by testing) packages to 2009-08-12 13:18:37 -07:00
syscall unused imports 2009-09-17 10:27:04 -07:00
tabwriter rename bytes.Buffer.Data() to bytes.Buffer.Bytes() 2009-09-16 15:15:00 -07:00
template use buf.String() instead of string(buf.Bytes()) 2009-09-17 23:51:06 -07:00
testing fix "declared and not used" errors in non-test code. 2009-09-14 17:20:29 -07:00
time unused imports 2009-09-17 10:27:04 -07:00
unicode more "declared and not used". 2009-09-15 09:41:59 -07:00
unsafe Update the unsafe docs for the new type implementation. 2009-07-07 15:06:29 -07:00
utf8 unused imports 2009-09-17 10:27:04 -07:00
xml mv src/lib to src/pkg 2009-06-09 09:53:44 -07:00
deps.bash - updated Makefile, Make.deps 2009-08-17 15:20:51 -07:00
Make.deps add DWARF method to elf.File. 2009-09-18 11:50:24 -07:00
Makefile Unit tests for image/png, based off the semi-official pngsuite from 2009-09-20 19:08:03 -07:00