008 11:33 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: speed of the "for each" looping
Funny. I didn't realize we were talking about iterating arrays with for..in
until just now. I don't think we do that in Flex code. If the docs say arrays
will iterate
PM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Re: speed of the "for each" looping
>
>
> I've spent a lot of time poking around inside the collections stack (it's just
> interesting), and I can't find a situation where you'll get a dif
, 2008 2:57 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] Re: speed of the "for each" looping
>
>
>
> I've spent a lot of time poking around inside the collections stack (it's
> just interesting), and I can't find a situation where you
McDonald
Sent: Thursday, December 11, 2008 2:57 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: speed of the "for each" looping
I've spent a lot of time poking around inside the collections stack (it's just
interesting), and I can't find a situation whe
> Behalf Of *Dave Cragg
> *Sent:* Thursday, December 11, 2008 3:08 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [flexcoders] Re: speed of the "for each" looping
>
>
>
> Could you clarify this? Does this non-guarantee apply to numerically
> indexed arr
dex order
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Dave Cragg
Sent: Thursday, December 11, 2008 3:08 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: speed of the "for each" looping
Could you clarify this? Does this non-guarantee apply to nu
Could you clarify this? Does this non-guarantee apply to numerically
indexed arrays and ArrayCollections too? Or just to associative arrays
and object properties?
The docs imply that the order is maintained by for...in with
numerically indexed arrays. It would be a big change if that were n
The book "ActionScript 3 Cookbook" and "ActionScript 3.0 Bible", talks
about this issue, and your interesting disuions on this thread, have
pointed me in the right way :) thanks .. By the way, my firm have the
first build on a night watcher application, where we use Nokia NFC
(RFID) to collect
[mailto:[EMAIL PROTECTED] On
Behalf Of Gordon Smith
Sent: Wednesday, December 10, 2008 6:01 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: speed of the "for each" looping
So don't use for..in or for each... in if you care about the enumeration
order. It coul
er 10, 2008 9:26 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: speed of the "for each" looping
No enumeration order of for..in is not guaranteed
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy
Spratt
Sent: Wednesday, December 10, 2008 8:55 AM
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: speed of the "for each" looping
Date: Wed, 10 Dec 2008 09:14:38 -0800
Keep in mind that getItemIndex is horribly inefficient.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECT
No enumeration order of for..in is not guaranteed
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy
Spratt
Sent: Wednesday, December 10, 2008 8:55 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: speed of the "for each" looping
Is the enumera
Keep in mind that getItemIndex is horribly inefficient.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cato
Paus
Sent: Wednesday, December 10, 2008 6:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: speed of the "for each" looping
if you need to
Subject: [flexcoders] Re: speed of the "for each" looping
if you need to get the i you can use the getItemIndex::ArrayCollection
--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
, "Amy" <[EMAIL PROTECTED]> wrote:
>
> --- In flexcod
if you need to get the i you can use the getItemIndex::ArrayCollection
--- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote:
>
> --- In flexcoders@yahoogroups.com, "Josh McDonald" wrote:
> >
> > *nods*
> >
> > I find that it's often much easier to read when you use for..in
and
>
--- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote:
>
> *nods*
>
> I find that it's often much easier to read when you use for..in and
for
> each..in rather than regular for. And since you need to have a "var
current
> = list[i]" or similar as the first line, If you onl
Hi and thanks for your deep explanation :) and yes I run the profiler,
and are doing some improvement here and there, the real question is
how the "for each" is working. I have been browsing the internet and
all the bibels on ActionScript 3, but did not found any good
explanation on the matter.
-
17 matches
Mail list logo