DescriptionPut constants in 'C', not '$'.
Currently, dart2js puts all static/top-level elements and constants in one object ($). For large applications, this means that this object may exceed a limit in V8 which turns of the "hidden class" optimization. The effect of this is that all static/top-level method calls get slow.
The solution to this problem appears to have multiple global objects. This CL takes the first step in that direction.
R=ngeoffray@google.com
Committed: https://code.google.com/p/dart/source/detail?r=26119
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|