> > > From: Martin Heidegger [mailto:m...@leichtgewicht.at] > > Sent: 22 February 2012 15:18 > > Also another thing is that > > > > if(a == null) is slower than if(a) .... at least compiled with mxmlc. > Is it really? I didn't know that. > > Writing code that enables a cast + comparison to happen quicker than a > direct comparison takes some doing! :/
I'm hoping that Falcon wil emit some more sane opcodes as well. Actionscript is rife with such weird performance behaviors. Apparently this: var array:Array = []; is faster than: var array:Array = new Array(); There's plenty more examples like that...