[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: array vector spare size
- From: Dirk Laurie <dpl@...>
- Date: Fri, 28 Jan 2011 20:39:49 +0200
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
Maybe you could specify a little more closely what the prehistory could
be of the table to which this 'at worst' applies.