]> Cypherpunks repositories - gostls13.git/commit
cmd/5l: move offset2 into Adr.u0 union to save 4/8 bytes for Adr/Prog resp.
authorShenghou Ma <minux.ma@gmail.com>
Mon, 21 Jan 2013 18:50:27 +0000 (02:50 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Mon, 21 Jan 2013 18:50:27 +0000 (02:50 +0800)
commite00c9f0dbb7b53410308101311bd0a448e00e17b
tree9290edb44dc57f7c8fb9760e85563cce9ceb4501
parentbee148bf23701f1b82d4d1d1187e3ef60ba724d7
cmd/5l: move offset2 into Adr.u0 union to save 4/8 bytes for Adr/Prog resp.
sizeof(Adr) from 24 bytes down to 20 bytes.
sizeof(Prog) from 84 bytes down to 76 bytes.

5l linking cmd/godoc statistics:
Before:
Maximum resident set size (kbytes): 106668
After:
Maximum resident set size (kbytes):  99412

R=golang-dev, dave
CC=golang-dev
https://golang.org/cl/7100059
src/cmd/5l/l.h