Re: [qooxdoo-devel] Preventing certain variables from being optimized

2012-06-01 Thread Derrell Lipman
On Fri, Jun 1, 2012 at 4:23 AM, thron7 wrote: > ** > Derrell, > > to the best of my knowledge there is currently no means to exempt > individual variables from renaming by the variable optimization. > Thanks, Thomas. I may have been thinking of one of the lint options. In any case, I'll work arou

Re: [qooxdoo-devel] Preventing certain variables from being optimized

2012-06-01 Thread thron7
Derrell, to the best of my knowledge there is currently no means to exempt individual variables from renaming by the variable optimization. That being said there might be ways for you around the issue. For one thing, the variable optimizer doesn't touch variable names of length 1 (because th

Re: [qooxdoo-devel] Preventing certain variables from being optimized

2012-05-31 Thread Fritz Zaucker
On Fri, 1 Jun 2012, Petr Kobalí?ek wrote: personally I don't understand why the private variables are renamed at all. Just to ensure privacy sounds like enough reason, don't you think? JS is usually packed by gzip so the optimization doesn't make a sense - it only causes traffic on mailing l

Re: [qooxdoo-devel] Preventing certain variables from being optimized

2012-05-31 Thread Petr Kobalíček
Hi, personally I don't understand why the private variables are renamed at all. JS is usually packed by gzip so the optimization doesn't make a sense - it only causes traffic on mailing list;) Btw some research how much the optimization affects build (I mean performance, size of compressed js, ..

[qooxdoo-devel] Preventing certain variables from being optimized

2012-05-31 Thread Derrell Lipman
I want to use full-optimization in the build version of my app, but I am injecting external code (not run through the generator) in one section, which must have access to variables in the main app. Those variables, therefore, must not be renamed by the optimizer. I believe I have seen a mechanism