Hi Henrik,

You're right, they are viable alternatives, but I didn't use either of those 
because standard for loops are faster – see this post from Jackson Dunstan: 
http://jacksondunstan.com/articles/358

I might throw them in though, for completeness, if I get some time this 
afternoon.

Piers

On 27 Dec 2009, at 13:43, Henrik Andersson wrote:

> Piers Cowburn wrote:
>> Hi Steve,
>> 
>> I thought it'd be useful to have some actual figures, so I put together a 
>> quick test. Test code was as follows:
>> 
> 
> I don't see any tests for the for .. in and for each .. in loops there. They, 
> in combination with Array, Vector, Object or Dictionary are also a possible 
> design.
> 
> I'd write the tests myself, but to put it bluntly, I am too lazy.
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to