[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: iscleared problem in lgc.c
- From: Mark Hamburg <mark@...>
- Date: Wed, 25 Mar 2009 22:42:04 -0700
One corollary to this is that if you want to create weak sets of
values, you should use:
set[ value ] = value
to add the value to the set rather than
set[ value ] = true
That way doing pairs( set ) won't reveal finalized keys.
(I got bitten by this years ago writing the weak observer mechanism in
Lightroom.)
Mark