lua-users home
lua-l archive

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


On Fri, Jan 28, 2011 at 7:08 PM, Henning Diedrich <hd2010@eonblast.com> wrote:
> Hi list,
>
> does anybody have a good understanding of how much memory can be expected to
> be wasted at worst in the array vector of tables?

If understood the code correctly, waste should never be more than 100%
(that is at least half the allocated vector is used). That for itself
is pretty standard meassurement for pure vectors across languages,
which most often realloc double on exceeding current limit.