[Patches] Re: Trashcan vs. GC vs. TRACE_REFS

Neil Schemenauer nascheme@enme.ucalgary.ca
Tue, 25 Apr 2000 19:52:20 -0600


On Wed, Apr 26, 2000 at 11:39:00AM +1000, Mark Hammond wrote:
> > With my current patch, extension types that
> > are involved with GC must match the interpreter (GC vs.  no-GC).
> 
> What exactly does "involved in" mean?

Extension types that can create reference cycles and want to
support GC.  There are currently none of these unless someone
quickly implemented one.

> > Is this sufficient? If not, it is possible to fix it so
> > extensions that implement GC will be okay too.
> 
> That would certainly be ideal, especially on Windows where
> people often dont have the tools to build all their own
> binaries.  It would certainly help people on Windows experiment
> with this feature if they did not have to rebuild their world
> (or even parts of their world) to use it.

To achieve this, GC-disabled Python would have to be a little
slower than current Python (some extra function calls).  With my
current patch they should be very nearly the same speed.

    Neil

-- 
Real Life? I played that game. The plot sucks but the graphics are
awesome.