incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Compiler Array Implementation ( was Adobe / Apache / Spoon Flex Tour )
Date Mon, 27 Feb 2012 08:22:51 GMT



On 2/26/12 6:10 AM, "Martin Heidegger" <mh@leichtgewicht.at> wrote:
> I am not sure how you coded that. I tried it and in my tests custom data
> structures [1] were a lot faster (10x).
> Did i understand something wrong?
> 
I didn't run your test case, but your array example is creating objects on
the fly and stuffing the array, both of which are expensive.  In my test,
the array is just a sequence of values so the abc code just does a ton of
pushXXX then newArray

-- 
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


Mime
View raw message