Re: Fast way to determine if there is only one reference to an object?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Fast way to determine if there is only one reference to an object?
- From: "Javier Guerra" <javier@...>
- Date: 2007年10月23日 12:24:09 -0500
On 10/23/07, Duncan Cross <duncan.cross@gmail.com> wrote:
> Is there a good way (through the C API, presumably) to determine
> whether there is more than one reference to a given object (table,
don't think so, because Lua uses a true GC, not ref-counting.
maybe what you really need are weak references?
--
Javier