Chromium Code Reviews
DescriptionSave more memory by compacting LocalVarDescriptors
(Re-landing this change after assertions fixed.)
Instead of allocating an array for the names of local variables,
store the names in the LocalVarDescriptors structure directly.
Using dart2js to compile a small dart program results in about 7200
LVDs on the heap.
Retained memory before: 568KB
Retained memory after: 432KB (75%)
R=asiva@google.com
Committed: https://code.google.com/p/dart/source/detail?r=40276
Patch Set 1 #Patch Set 2 : #
Messages
Total messages: 4 (1 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||