POV-Ray : Newsgroups : povray.off-topic : A tale of two cities : Re: A tale of two cities Server Time
29 Jul 2024 16:32:21 EDT (-0400)
  Re: A tale of two cities  
From: Darren New
Date: 14 Mar 2012 23:59:05
Message: <4f616909$1@news.povray.org>
On 3/14/2012 10:10, clipka wrote:
> Then again, how would any other GC prevent this kind of thing happening?

Because real GC engines count references on the stack. The very fact that A 
is going to return to a member function of B is enough to keep it live.

-- 
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.