lua-users home
lua-l archive

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


2010/5/10 spir ☣ <denis.spir@gmail.com>:
> Can someone explain why the size (precisely: what # returns) is not stored in the background? Naively, I see this as a small cost for a great gain.

it would have to be recalculated on any table modification.  (hint:
it's not a simple n++/n--)

-- 
Javier