go/src/debug/gosym
Josh Bleecher Snyder e511f15375 debug/gosym: intern LineTable strings
This cuts the allocated space while executing

go tool objdump -S `go tool -n compile`

by over 10%.

It also speeds it up slightly:

name              old time/op       new time/op       delta
ObjdumpSCompiler        9.03s ± 1%        8.88s ± 1%  -1.59%  (p=0.000 n=20+20)

Updates #24725

Change-Id: Ic6ef8e273ede589334ab6e07099ac2e5bdf990c9
Reviewed-on: https://go-review.googlesource.com/106798
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-04-13 19:52:07 +00:00
..
pclinetest.asm
pclinetest.h
pclntab.go debug/gosym: intern LineTable strings 2018-04-13 19:52:07 +00:00
pclntab_test.go all: use testing.GoToolPath instead of "go" 2016-08-30 22:49:11 +00:00
symtab.go debug/gosym: update docs for changes in Go 1.3 2017-11-30 22:49:27 +00:00
symtab_test.go debug/gosym: parse remote packages correctly 2016-05-17 22:16:38 +00:00