go/src
Dmitri Shuralyov 4118665775 cmd/go: simplify code, reduce allocations.
This is a trivial change to make use of an existing `nl` byte slice
containing a single '\n' character. It's already declared and
used in another place in this file, so it might as well be used
in the other location instead of
a new slice literal. There should be no change in behavior,
aside from potentially less allocations.

This is my first CL, so I wanted to use a simple, hopefully non-controversial,
minor improvement to get more comfortable with golang contribution process.

LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/97280043
2014-05-10 18:06:58 -07:00
..
cmd cmd/go: simplify code, reduce allocations. 2014-05-10 18:06:58 -07:00
lib9 lib9: restore argv0 initialization code. 2014-04-21 00:08:39 -04:00
libbio libbio: add casts to eliminate -Wconversion warning 2014-04-14 09:36:47 -07:00
liblink runtime: use duff zero and copy to initialize memory 2014-05-07 13:17:10 -07:00
pkg undo CL 100330043 / e4248ed0037c 2014-05-09 17:31:35 -07:00
Make.dist
all.bash
all.bat
all.rc
clean.bash
clean.bat
clean.rc
make.bash make.bash: if CC is not set, and gcc doesn't exist, try clang/clang++. 2014-04-29 00:32:16 -04:00
make.bat
make.rc lib9: enable on Plan 9 2014-02-13 20:06:41 +01:00
race.bash race.bash,race.bat: unset GOROOT_FINAL during tests 2014-05-07 16:34:21 +10:00
race.bat race.bash,race.bat: unset GOROOT_FINAL during tests 2014-05-07 16:34:21 +10:00
run.bash run.bash: skip -static cgo test if -static linking isn't possible. 2014-04-29 14:43:10 -04:00
run.bat run.bash: explain why we set GOMAXPROCS for runtime test 2014-03-06 13:16:14 +04:00
run.rc run.bash: explain why we set GOMAXPROCS for runtime test 2014-03-06 13:16:14 +04:00
sudo.bash