[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: table.clear
- From: Andrew Starks <andrew.starks@...>
- Date: Fri, 13 Dec 2013 15:05:46 -0600
On Fri, Dec 13, 2013 at 2:32 PM, Coda Highland <chighland@gmail.com> wrote:
> I do have a question, though, of why __gc won't work for this.
Because __gc would be for when the table went away, metatable and all,
not for when all of its elements were to be wiped away, which may be
done in different ways, depending on how the "object" was constructed.
-Andrew