That's interesting.

Do you know where we can find reading on Adobe Flash internals, if any   ? 

Maurice 

-----Message d'origine-----
De : Alex Harui [mailto:aha...@adobe.com] 
Envoyé : lundi 4 novembre 2013 20:46
À : dev@flex.apache.org
Objet : Re: git commit: [flex-sdk] [refs/heads/develop] - FIX - FLEX-33865 
ConstraintLayout optimization



On 11/4/13 10:13 AM, "Maurice Amsellem" <maurice.amsel...@systar.com>
wrote:

>Alex, to be honest, the last "split" tests I did ( code optimization 
>only and  code optimization + Array recycling) show that the bulk of 
>the performance gain (10%) comes from the use of indexOf(..) to detect 
>that we are in a simple "Number case", instead of split+replace which 
>is very costly.
>
>All the rest (Array recycling, inlined code, etc...) induces a marginal 
>improvement of 1%.
>
>However, I would prefer not to spent time on this issue anymore.
That's totally fine.  My recollection is that Array is slow, defaults to 
allocating 10 slots and [] lookups aren't all that fast. But no worries, it's 
not that important, I'm just putting it out there in case someone does have 
time.

-Alex

Reply via email to