lua-users home
lua-l archive

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



On Monday, April 16, 2001, at 08:15 PM, Joshua Jensen wrote:

2) for loops are quite a bit faster than while loops, since they have
specialized virtual machine instructions.

By "for loop" do you mean lua 4.0's for loop or foreach() and foreachi()?
Anyone now how foreach and foreachi compare in speed to while or for?

Steve