lua-users home
lua-l archive

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


On Fri, Jan 28, 2011 at 08:08:46PM +0200, Henning Diedrich wrote:
> 
> does anybody have a good understanding of how much memory can be expected to
> be wasted at worst in the array vector of tables?
> 
At worst you can reserve a huge array via the API with lua_createtable 
and never fill any slots.  But I don't suppose that's what you are
asking.

Maybe you could specify a little more closely what the prehistory could
be of the table to which this 'at worst' applies.

Dirk