[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: using light userdata to keep full userdata alive?
- From: "Javier Guerra" <javier@...>
- Date: Tue, 8 Jan 2008 17:19:59 -0500
On 1/8/08, Norman Ramsey <nr@eecs.harvard.edu> wrote:
> The only way I can think of to do this is to use a weak table
> in which both keys and values are weak and the light userdata is the key,
> the heavy userdata is the value. Is this the correct approach?
> Are there other possible approaches?
i guess it should be weak keys and strong values
--
Javier