A couple garbage collector questions
Andrew Kuchling
akuchlin at mems-exchange.org
Wed Apr 4 17:10:36 EDT 2001
"Tim Peters" <tim.one at home.com> writes:
> [Douglas Alan]
> > ...
> > Another question: Why didn't Python just include Bohm's conservative
> > GC package to implement Python's cycle detection?
>
> Try it yourself, and you'll discover the answer.
>
> or-at-least-today's-answer-ly y'rs - tim
To clarify Tim's oracular answer, the last time it was tried there was
a significant performance hit. Patches for 1.5.2 are at
http://www.enme.ucalgary.ca/~nascheme/python/gc.html, so you
can experiment with them. The Boehm package is also some awfully
hairy code, so porting it to new platforms would be painful.
--amk
More information about the Python-list
mailing list