1
0
mirror of https://github.com/golang/go synced 2024-10-05 07:11:22 -06:00
go/src
David Crawshaw a24b3ed753 cmd/compile: remove rtype *uncommonType field
Instead of a pointer on every rtype, use a bit flag to indicate that
the contents of uncommonType directly follows the rtype value when it
is needed.

This requires a bit of juggling in the compiler's rtype encoder. The
backing arrays for fields in the rtype are presently encoded directly
after the slice header. This packing requires separating the encoding
of the uncommonType slice headers from their backing arrays.

Reduces binary size of godoc by ~180KB (1.5%).
No measurable change in all.bash time.
For #6853.

Change-Id: I60205948ceb5c0abba76fdf619652da9c465a597
Reviewed-on: https://go-review.googlesource.com/19790
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: David Crawshaw <crawshaw@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-03-08 23:23:13 +00:00
..
archive all: single space after period. 2016-03-02 00:13:47 +00:00
bufio bufio: Reader.Peek returns partial results on ErrBufferFull 2016-03-04 03:51:22 +00:00
builtin
bytes all: single space after period. 2016-03-02 00:13:47 +00:00
cmd cmd/compile: remove rtype *uncommonType field 2016-03-08 23:23:13 +00:00
compress compress/zlib: make errors persistent 2016-03-07 18:32:04 +00:00
container all: single space after period. 2016-03-02 00:13:47 +00:00
crypto crypto/tls: test for timeout error using the net.Error interface 2016-03-08 22:40:49 +00:00
database/sql all: single space after period. 2016-03-02 00:13:47 +00:00
debug Rewrite leftover references to plan9.bell-labs.com to 9p.io. 2016-03-06 07:07:01 +00:00
encoding all: single space after period. 2016-03-02 00:13:47 +00:00
errors all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
expvar all: single space after period. 2016-03-02 00:13:47 +00:00
flag all: single space after period. 2016-03-02 00:13:47 +00:00
fmt fmt: refactor and unify float and complex formatting 2016-03-06 02:18:05 +00:00
go go/build: introduce go1.7 build tag 2016-03-07 23:48:25 +00:00
hash hash/crc32: use slicing by 8 for Castagnoli and smaller sizes 2016-03-08 16:46:24 +00:00
html all: single space after period. 2016-03-02 00:13:47 +00:00
image Rewrite leftover references to plan9.bell-labs.com to 9p.io. 2016-03-06 07:07:01 +00:00
index/suffixarray
internal all: make copyright headers consistent with one space after period 2016-03-01 23:34:33 +00:00
io all: single space after period. 2016-03-02 00:13:47 +00:00
log all: single space after period. 2016-03-02 00:13:47 +00:00
math math/big: use correct precision in Float.Float32/64 for denormals 2016-03-04 17:39:50 +00:00
mime mime/multipart: don't call Read on io.Reader after an error is seen 2016-03-07 19:50:16 +00:00
net net/http/httptest: record trailing headers in ResponseRecorder 2016-03-08 19:30:38 +00:00
os os/user: make OS-specific getgrouplist calls 2016-03-08 20:58:00 +00:00
path Rewrite leftover references to plan9.bell-labs.com to 9p.io. 2016-03-06 07:07:01 +00:00
reflect cmd/compile: remove rtype *uncommonType field 2016-03-08 23:23:13 +00:00
regexp all: single space after period. 2016-03-02 00:13:47 +00:00
runtime cmd/compile: remove rtype *uncommonType field 2016-03-08 23:23:13 +00:00
sort all: single space after period. 2016-03-02 00:13:47 +00:00
strconv all: single space after period. 2016-03-02 00:13:47 +00:00
strings all: single space after period. 2016-03-02 00:13:47 +00:00
sync all: single space after period. 2016-03-02 00:13:47 +00:00
syscall os, syscall: skip tests when environment doesn't permit testing 2016-03-07 22:40:50 +00:00
testing all: single space after period. 2016-03-02 00:13:47 +00:00
text all: single space after period. 2016-03-02 00:13:47 +00:00
time all: single space after period. 2016-03-02 00:13:47 +00:00
unicode all: single space after period. 2016-03-02 00:13:47 +00:00
unsafe all: single space after period. 2016-03-02 00:13:47 +00:00
vendor net/http: update http2 to check header values, move from vendor to internal 2016-01-21 00:19:02 +00:00
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash build: use consistent shebang line 2016-01-14 03:16:20 +00:00
buildall.bash build: use go tool dist list 2016-02-26 03:58:58 +00:00
clean.bash
clean.bat
clean.rc
iostest.bash
make.bash cmd/go, go/build: add support for Fortran 2016-02-24 15:06:38 +00:00
make.bat cmd/go, go/build: add support for Fortran 2016-02-24 15:06:38 +00:00
Make.dist
make.rc
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc