1
0
mirror of https://github.com/golang/go synced 2024-11-23 13:40:04 -07:00
go/src
Dmitriy Vyukov 9fa9613e0b runtime: do not zero terminate strings
On top of "tiny allocator" (cl/38750047), reduces number of allocs by 1% on json.
No code must rely on zero termination. So will also make debugging simpler,
by uncovering issues earlier.

json-1
allocated                 7949686      7915766      -0.43%
allocs                      93778        92790      -1.05%
time                    100957795     97250949      -3.67%
rest of the metrics are too noisy.

LGTM=r
R=golang-codereviews, r, bradfitz, iant
CC=golang-codereviews
https://golang.org/cl/40370061
2014-01-24 22:29:01 +04:00
..
cmd cmd/gc: add zeroing to enable precise stack accounting 2014-01-23 23:11:04 -05:00
lib9 lib9, libmach, cmd/dist, go/build: add support for GOOS=solaris 2014-01-07 23:12:12 +11:00
libbio build: do not use the host's libbio on Plan 9 2013-12-09 18:39:58 -05:00
liblink liblink, runtime: fix cgo on arm 2014-01-23 22:51:39 -05:00
libmach libmach: use different names for different Ureg types 2014-01-08 20:37:27 -05:00
pkg runtime: do not zero terminate strings 2014-01-24 22:29:01 +04:00
all.bash
all.bat
all.rc
clean.bash
clean.bat
clean.rc
make.bash cmd/dist, build: support building statically linked toolchain 2013-10-01 23:44:20 -04:00
make.bat
Make.dist
make.rc
race.bash race.bash, race.bat: build a race enabled cmd/cgo before trying to use it 2013-09-29 10:34:41 +10:00
race.bat race.bat: set exit status 2013-12-17 15:09:42 +04:00
run.bash
run.bat
run.rc
sudo.bash