incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Heidegger ...@leichtgewicht.at>
Subject Re: Flex adopting haXe ?
Date Wed, 22 Feb 2012 15:29:48 GMT
I did performance tests ... but these things change very often.
My understanding is that there is no casting going on. It is just a test 
if the "memory" at x is filled or not.
However at a==null it tries to verify if statement a is same as 
statement b putting each in a memory.

yours
Martin.

On 23/02/2012 00:25, David Arno wrote:
>> 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! :/
>
> David.
>
>
>


Mime
View raw message