[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Reusing a Thread
- From: Mark Hamburg <mhamburg@...>
- Date: Fri, 18 Aug 2006 14:27:41 -0700
on 8/18/06 1:09 PM, Mike Pall at mikelu-0608@mike.de wrote:
> BTW: Another one for the wishlist: lua_cleartable(L, narr, nrec).
> Use case: a common table referenced in dozens of upvalues needs
> to be cleared fast. Replacing it with a new table is not an
> option because then I'd have to store all affected closures
> somewhere. Iterative clearing is annoying/slow. Don't know if
> this is a popular wish, though.
I find myself clearing tables on occasion though I've been trying to train
myself to let them just become garbage.
Mark