]> Cypherpunks repositories - gostls13.git/commit
cmd/5l: reorder some struct fields to reduce memory consumption
authorShenghou Ma <minux.ma@gmail.com>
Fri, 12 Oct 2012 05:39:12 +0000 (13:39 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Fri, 12 Oct 2012 05:39:12 +0000 (13:39 +0800)
commit1e9f3085457eb911cb46a13e2766697bddd9d413
treea1fcb69b06db138479a74db1fd0141d1d4b0e8a8
parent19dc7bb18fc4e4dab937ce13d50a86db938ab744
cmd/5l: reorder some struct fields to reduce memory consumption
Valgrind Massif result when linking godoc:
On amd64:
                    old          new         -/+
mem_heap_B       185844612    175358047    -5.7%
mem_heap_extra_B    773404       773137    -0.0%

On 386/ARM:
                    old          new         -/+
mem_heap_B       141775701    131289941    -7.4%
mem_heap_extra_B    737011       736955    -0.0%

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