flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Dufilie <andy.dufi...@gmail.com>
Subject Re: flexjs foreach very slow
Date Tue, 10 May 2016 10:38:11 GMT
You're right, it is possible, but I think the key word there was "easily."
:)

Sent from my Android
On May 9, 2016 23:59, "Alex Harui" <aharui@adobe.com> wrote:

>
>
> On 5/9/16, 1:22 PM, "Josh Tynjala" <joshtynjala@gmail.com> wrote:
>
> >That's a good call, Andy. You're absolutely right that a for-each loop
> >could also have its own return statements that are meant for the
> >surrounding function. With that in mind, I don't think there's a special
> >case here that the compiler can easily detect to optimize.
>
> Hmm, maybe I'm missing something.  I'm not a compiler expert, but I've
> heard about things like "code-flow analysis" and similar techniques that I
> thought could be used for determining that there aren't planned exits from
> a loop.
>
> -Alex
>
>

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