I have tried this a while ago (by post-processing the generated code), and it had a negative impact on startup performance.
Stefan On Thu, Jul 2, 2009 at 11:11 PM, Andrés Testi <andres.a.te...@gmail.com>wrote: > > Having a function like: > > function d(){ > return function(){}; > } > > ... class declarations like: > > function Foo(){} > > ... could be reduced to: > > var Foo=d() > > ... reducing compiled code by 5 characters for each declaration. > > > - Andrés > > > > > -- Stefan Haustein Google UK Limited Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W 9TQ; Registered in England Number: 3977902 --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---