aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/encode.go
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2015-04-03 17:43:38 -0700
committerJosh Bleecher Snyder <josharian@gmail.com>2015-05-15 15:22:12 +0000
commit76ec0ee53a5619b4ead4772c075105bf66c0ac67 (patch)
tree2b6519f420729fc121b1da3dd778dda182788486 /src/encoding/json/encode.go
parent13485be939d73d6d2a5a8407c74c5fd502e35a6f (diff)
downloadgo-76ec0ee53a5619b4ead4772c075105bf66c0ac67.tar.xz
cmd/internal/gc: separate Name-only Node fields
Name will be converted from an anonymous to a named field in a subsequent, automated CL. No functional changes. Passes toolstash -cmp. This reduces the size of gc.Node from 424 to 400 bytes. This in turn reduces the permanent (pprof -inuse_space) memory usage while compiling the test/rotate?.go tests: test old(MB) new(MB) change rotate0 379.49 367.30 -3.21% rotate1 373.42 361.59 -3.16% rotate2 381.17 368.77 -3.25% rotate3 374.30 362.48 -3.15% Updates #9933. Change-Id: I21479527c136add4f1efb9342774e3be3e276e83 Reviewed-on: https://go-review.googlesource.com/10120 Reviewed-by: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/encoding/json/encode.go')
0 files changed, 0 insertions, 0 deletions