Author: Gareth McCaughan
Date: 02:27:48 11/28/01
Go up one level in this thread
On November 27, 2001 at 17:34:25, Eugene Nalimov wrote: > Actually, you don't need GC for the Basic. Reference counting is sufficient > there. And it definitely can be used in the real time code. You have to be pretty careful about using refcounting for real-time code. Although it's nearer to being real time than conventional GCs are, a simple implementation can still produce arbitrarily long GC pauses. (Imagine you have 10Gb of hairily structured data all kept alive by a single reference from outside. Then that reference goes away, and you spend the next minute decrementing reference counts and throwing things away.) There are (of course) ways round this, but there are also ways to make ordinary GCs real-time. I'm not sure that genuinely real-time refcounting is so much easier than genuinely real-time GC. -- g
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.