|
![](/i/fill.gif) |
On 3/14/2012 8:52, Warp wrote:
> And btw, cyclic references are not the only problematic situation with
> reference counting. There are cases where objects may be deleted too early,
> while there's still code using them.
And your references have to be as big as your address space, approximately.
Smalltalk back in the 64K days used a 5-bit reference count. If you ever had
more than 30 references, it just wouldn't get collected until the mark/sweep
collector ran.
--
Darren New, San Diego CA, USA (PST)
People tell me I am the counter-example.
Post a reply to this message
|
![](/i/fill.gif) |