incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Zwaga <rol...@stackandheap.com>
Subject Re: Flex adopting haXe ?
Date Wed, 22 Feb 2012 15:28:31 GMT
>
> > From: Martin Heidegger [mailto:mh@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...

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message