Not a compiler expert, but I wouldn't be surprised since in the AST it will
be represented as a binary tree of JBinaryOperation nodes and the visitors
walk the tree recursively. So balancing the tree should result in a smaller
stack.

- Brian



On Wed, Oct 30, 2013 at 1:10 PM, Julien Dramaix <julien.dram...@gmail.com>wrote:

> Dear GWT lovers,
>
> I have a question for the compiler guys : in the CssResource I see a
> comment mentioning that very large string concatenation expressions using
> '+' cause the GWT compiler to overflow the stack due to deep AST nesting.
> So it's preferable to use intermediate concatenation groupings in order to
> force the AST to be more balanced.
>
> I'm just wondering if this issue is still present with the actual version
> of the compiler or if it was fixed to better handle large concatenation ?
>
> Thanks,
>
> Julien
>
> --
> http://groups.google.com/group/Google-Web-Toolkit-Contributors
> ---
> You received this message because you are subscribed to the Google Groups
> "GWT Contributors" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to