diff options
| author | Russ Cox <rsc@golang.org> | 2015-06-29 13:50:30 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2015-06-30 19:27:52 +0000 |
| commit | e8f2eb43492df599efd65a2e01e9e8618fe46632 (patch) | |
| tree | d363ea8ae039db11a31a3d748b07244fc81f465d /src/database | |
| parent | 3b6e86f48ab58799b4064f7e840ad71e242a73dc (diff) | |
| download | go-e8f2eb43492df599efd65a2e01e9e8618fe46632.tar.xz | |
cmd/compile: allow linker to drop string headers when not needed
Compiling a simple file containing a slice of 100,000 strings,
the size of the resulting binary dropped from 5,896,224 bytes
to 3,495,968 bytes, which is the expected 2,400,000 bytes,
give or take.
Fixes #7384.
Change-Id: I3e551b5a1395b523a41b33518d81a1bf28da0906
Reviewed-on: https://go-review.googlesource.com/11698
Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/database')
0 files changed, 0 insertions, 0 deletions
