[Python-3000] Delayed reference counting idea

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Mon Sep 18 18:27:12 CEST 2006


"Adam Olsen" <rhamph at gmail.com> writes:

> * Bolt-on tracing GC such as Boehm-Demers-Weiser.  Totally unsupported
> by the C standards and changes cache characteristics that CPython has
> been designed with for years, likely with a very large performance
> penalty.

Last time I did some GC benchmarks (unrelated to Python), Boehm GC
came up surprisingly fast. I suppose it's faster than malloc +
reference counting (not sure how much amortizing malloc calls helps).

I don't like the idea of a conservative GC at all in general, but
Boehm GC seems to have very good quality, and it's easy to use from
the point of view of a C API.

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak at knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/


More information about the Python-3000 mailing list