|
|
Warp wrote:
> (Naturally if it's a long chain of references, destroying the first
> object will destroy all the others like dominoes falling.)
That's where the "nondeterministic time" comes in with reference
counting, just so you recognise.
>> Reference counting really is far too simplistic to work properly.
>
> Well, as long as you don't have circular references (there are ways
> to make it *difficult* to create them) I don't see a problem.
That's the primary problem, yes. That, and the size of the counter, if
it needs to be the same as the size of a pointer. And that it's probably
the slowest way to do GC.
--
Darren New / San Diego, CA, USA (PST)
"That's pretty. Where's that?"
"It's the Age of Channelwood."
"We should go there on vacation some time."
Post a reply to this message
|
|