]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: reuseable cache of Prog structs
authorKeith Randall <khr@golang.org>
Wed, 24 Feb 2016 17:53:27 +0000 (09:53 -0800)
committerKeith Randall <khr@golang.org>
Wed, 24 Feb 2016 18:52:28 +0000 (18:52 +0000)
commitf388b58540c2cc401dfa79e3d7b6a1846ac9a59f
treecb0b4157af02d7e60887fe8401e7a73a945df756
parent45c2e38b37e40c3b6bdc508065edce0643f79110
cmd/compile: reuseable cache of Prog structs

Reuseable cache of Prog entries.

Improves compiler speed by ~10%.

Update #13646

Change-Id: I01bd8606540d989ea8b8ba5131d1275ba380d976
Reviewed-on: https://go-review.googlesource.com/19868
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/cmd/internal/obj/link.go
src/cmd/internal/obj/objfile.go
src/cmd/internal/obj/util.go