> Interesting. Lots of the advice I found suggested string literals. How > are @expose and @export different such that it helps GCC?
In it's original intent, @expose was meant to be used only to prevent property collapsing. That's why using it disables a whole bunch of compiler passes, greatly reducing the effectivity of the GCC. @export (in combination with an additional compiler flag - '--generate-exports') just makes sure that the property isn't renamed and remains accessible from 'outside' the compiled JS. EdB -- Ix Multimedia Software Jan Luykenstraat 27 3521 VB Utrecht T. 06-51952295 I. www.ixsoftware.nl
