[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Basic question on weak keys
- From: Peter Cawley <lua@...>
- Date: Wed, 13 Jun 2012 23:46:33 +0100
On Wed, Jun 13, 2012 at 11:32 PM, Andrew Starks <andrew.starks@trms.com> wrote:
> So, if I looped with pairs(a), it would be there. __mode = 'k' and it
> would not. Correct?
If you looped with pairs(a), it would be there.
If __mode=='k' and you looped with pairs(a), then it might be there or
it might not, depending on how much work the garbage collector had
done since you removed the other reference to the table.