Reviewers: Ray Ryan,

Message:
Review requested.

Looking at the Mail sample with JProfiler, GenerateCssAst is where the
bulk of the time is spent in CssResourceGenerator.

Description:
When ui:style elements are used, GenerateCssAst.exec() gets called with
the same arguments twice.  Once when UiBinder is generating the
synthetic interface, and a second time when CssResourceGenerator is
processing the synthetic ClientBundle.

This patch also adds a minor cleanup to AbstractClientBundleGenerator in
the no-work situation.

Please review this at http://gwt-code-reviews.appspot.com/86805

Affected files:
   M user/src/com/google/gwt/resources/css/GenerateCssAst.java
   M user/src/com/google/gwt/resources/css/ast/CssStylesheet.java
   M  
user/src/com/google/gwt/resources/rebind/context/AbstractClientBundleGenerator.java



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

Reply via email to