POV-Ray : Newsgroups : povray.off-topic : A tale of two cities : Re: A tale of two cities Server Time
29 Jul 2024 16:25:12 EDT (-0400)
  Re: A tale of two cities  
From: Darren New
Date: 14 Mar 2012 23:56:50
Message: <4f616882@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.