lua-users home
lua-l archive

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


On Tue, Feb 23, 2010 at 11:57 AM, spir <denis.spir@free.fr> wrote:
> instead of "table.insert(array,item)" or "array[#array+1] = item".

Those are often used; AFAIK the second idiom is considered pretty quick.

When in doubt, do a microbenchmark!

steve d.