On Wed, May 20, 2009 at 3:13 PM, Ray Cromwell <[email protected]> wrote:
> As a practical example, ClientBundle can already generate deep
> expressions for Css resource injection that exhaust the stack space of
> the JVM when compiling. You end up with something like:
>
> var cssText = a + b + c + ..... (hundreds)
>
> which produces a very deeply nested binary expression tree.

Good example.  That would be a problem if there can be in the
neighborhood of 10,000 of them.  Hundreds wouldn't be a problem.

In general, it would take a few days' work to write a general
un-deepener.  We can do that if it starts to look like an important
enough problem.  In this case, it looks much easier to modify the
generator.

Lex

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to