More embarrassing microbenchmars for D's GC.

bearophile bearophileHUGS at lycos.com
Wed Jun 25 09:13:52 PDT 2008


Michael Neumann:
> Python used reference counting (~ Python 1.x) in the past, but I think
> they switched to a tracing garbage collector in 2.x.

Python 2.5.2 uses a reference counting GC plus logic to break reference cycles, part of the code:
http://svn.python.org/view/python/trunk/Modules/gcmodule.c?rev=64048&view=markup

You may want to take a look at this page of the results too (Psyco uses the same GC, it's not another language):
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=72520

Bye,
bearophile



More information about the Digitalmars-d mailing list