lua-users home
lua-l archive

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



Hmmm... interesting. Are you using Lua 5? On what platform?

I've just benchmarked the same code on my Lua 4 system under Windows.
The second loop performs definitely better than half the speed here.
It needs approx. 1.6x the time needed for the 1st loop.

Ashwin.

Lua 5 compiled on VC7.1 release build. AMD Athlon XP 1.47, Windows XP.

Okay. Well, not that it matters that much, but for completeness' sake:

I'm using a Lua 4-based runtime, compiled with C++ Builder 4, and am running Windows 98 on an ancient 400Mhz Celeron laptop [;-)].

Ashwin.
--
no signature is a signature