YUI Compressor, in its (not very extensive) documentation states this as an option:
--disable-optimizations Disable all the built-in micro optimizations.
Does anyone know what this means?
What will this turn on/off?
I haven’t found any documentation about it.
Thanks!
Looking at the source of JavaScriptCompressor:
lines 548–
lines 467 –
lines 497 –
So it’s converting use of constant strings in
foo['bar']tofoo.barand{'bar':x}to{bar:x}.