lua-users home
lua-l archive

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


Hello spir,

Tuesday, February 23, 2010, 12:57:10 PM, you wrote:

>     local i = 1
> instead of "table.insert(array,item)" or "array[#array+1] = item".

i think it's because access to local variable is anyway much
faster than computing #array

-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin@gmail.com