go/src
Matthew Dempsky 8d075beeef cmd/compile: lazily initialize litbuf
Instead of eagerly creating strings like "literal 2.01" for every
lexed number in case we need to mention it in an error message, defer
this work to (*parser).syntax_error.

name      old allocs/op  new allocs/op  delta
Template      482k ± 0%      482k ± 0%  -0.12%   (p=0.000 n=9+10)
GoTypes      1.35M ± 0%     1.35M ± 0%  -0.04%  (p=0.015 n=10+10)
Compiler     5.45M ± 0%     5.44M ± 0%  -0.12%    (p=0.000 n=9+8)

Change-Id: I333b3c80e583864914412fb38f8c0b7f1d8c8821
Reviewed-on: https://go-review.googlesource.com/22480
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-04-26 22:49:54 +00:00
..
archive archive/tar: style nit: s/nano_buf/nanoBuf/ 2016-04-15 21:29:18 +00:00
bufio
builtin
bytes all: remove unnecessary type conversions 2016-04-15 07:31:45 +00:00
cmd cmd/compile: lazily initialize litbuf 2016-04-26 22:49:54 +00:00
compress compress/flate: use uncompressed if dynamic encoding is larger 2016-04-18 02:30:46 +00:00
container container/heap: correct number of elements in BenchmarkDup 2016-04-20 15:26:05 +00:00
context
crypto crypto/sha512: add s390x assembly implementation 2016-04-26 17:37:45 +00:00
database/sql
debug debug/pe: better error messages 2016-04-25 06:00:15 +00:00
encoding encoding/json: add Encoder.DisableHTMLEscaping 2016-04-22 21:35:56 +00:00
errors
expvar
flag flag: update test case (fix build) 2016-04-21 23:17:18 +00:00
fmt fmt: remove extra space in doc for compound objects 2016-04-17 20:07:32 +00:00
go cmd/compile: for now, keep parameter numbering in binary export format 2016-04-25 22:17:01 +00:00
hash hash/crc32: use vector instructions on s390x 2016-04-22 18:07:15 +00:00
html html/template, text/template: clarify Parse{Files,Glob} semantics 2016-04-22 02:01:54 +00:00
image image/draw: remove some bounds checks from DrawYCbCr 2016-04-17 06:25:28 +00:00
index/suffixarray
internal internal/trace: fix event ordering for coarse timestamps 2016-04-24 16:50:25 +00:00
io
log
math math/big: more tests, documentation for Flot gob marshalling 2016-04-20 21:16:21 +00:00
mime
net net: ignore lame referral responses like libresolv 2016-04-26 16:23:39 +00:00
os all: remove unnecessary type conversions 2016-04-15 07:31:45 +00:00
path
reflect cmd/link: correctly decode name length 2016-04-26 15:55:06 +00:00
regexp unicode: improve SimpleFold performance for ascii 2016-04-26 21:59:50 +00:00
runtime cmd/link: fix gdb backtrace on architectures using a link register 2016-04-26 18:35:47 +00:00
sort
strconv strconv: fix ParseFloat for special forms of zero values 2016-04-19 22:39:43 +00:00
strings all: remove unnecessary type conversions 2016-04-15 07:31:45 +00:00
sync all: remove unnecessary type conversions 2016-04-15 07:31:45 +00:00
syscall
testing testing: add matching of subtest 2016-04-21 19:58:31 +00:00
text html/template, text/template: clarify Parse{Files,Glob} semantics 2016-04-22 02:01:54 +00:00
time time: print zero duration as 0s, not 0 2016-04-21 22:07:59 +00:00
unicode unicode: improve SimpleFold performance for ascii 2016-04-26 21:59:50 +00:00
unsafe
vendor/golang.org/x/net/http2/hpack
Make.dist
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
iostest.bash
make.bash
make.bat
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc