Interesting, I can't believe this has existed for years and we didn't realize we need to garbage collect these. LGTM, I'd be very interested to see the size numbers.
On 2011/02/04 21:34:11, scottb wrote:
We create names during GenerateJavaScriptAST, but in many cases,
references to
those names get optimized out. However, the JsName still exists in
the scope,
and consumes a 'space'.
This change avoids wasting an allocation on unreferenced names, so
that more
obfuscated idents can fit into fewer characters.
http://gwt-code-reviews.appspot.com/1337803/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
