[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: table.new in 5.3?
- From: Javier Guerra Giraldez <javier@...>
- Date: Mon, 25 Nov 2013 08:54:52 -0500
On Sun, Nov 24, 2013 at 6:53 AM, Mike Pall <mikelu-1311@mike.de> wrote:
> It doesn't change the sizes, it doesn't
> shrink or reset the table (which would be much less useful in
> practice).
but at some point it would be resized, right? what happens if there's
a big table, i clear() it, and then add a single key/value. would it
stay big forever? until the next garbage collection? or immediately,
as the set function detects it's way oversized?
if the later, then how am i supposed to 'recycle' big structures?
--
Javier