lua-users home
lua-l archive

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


On Fri, Jan 21, 2011 at 12:08 PM, Valerio Schiavoni
<valerio.schiavoni@gmail.com> wrote:
>>>>         for kk = k*2, max, k do
>
>> faster :   for kk = k*k, max, k do
>
> does it mean k*k is faster than k*2 ?

in any case, k*k ~= k*2

i think it's "k*k faster than k^2", or "k+k faster than k*2".......

-- 
Javier