lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


>I also did some other tests and found that foreach() is ~20% faster than 
>the equivalent while loop, while foreachi() was ~20% slower than a while 
>loop.

You should compare this also with the "for" statement.
--lhf