Python and Boehm-Demers GC, I have code.

Christian Tismer tismer at appliedbiometrics.com
Sat Jul 17 12:00:24 EDT 1999


Neil Schemenauer wrote:
...
> With some tuning maybe the gc version of Python will perform
> better than the regular version.

I believe you will need to keep the RC as well, since at
the moment, I think this gives more locality than GC,
as Tim mentioned already.
Early this year, I tried to speed up the VM, and one aspect
I tried was to delay DECREFS, doing them from time to
time in bulks. Although I could measure the extra overhead
away, Python became a little slower. It appears as a rule of
thumb to me: 

        RC is fine. Try to get rid of objects ASAP.

If you can manage to make it rock solid, I would perhaps
like to bundle it with stackless Python. Although, the
collector which Guido proposed a while ago could perform
even better, so I'm still a bit undecided.

ciao - chris
-- 
Christian Tismer             :^)   <mailto:tismer at appliedbiometrics.com>
Applied Biometrics GmbH      :     Have a break! Take a ride on Python's
Kaiserin-Augusta-Allee 101   :    *Starship* http://starship.python.net
10553 Berlin                 :     PGP key -> http://wwwkeys.pgp.net
PGP Fingerprint       E182 71C7 1A9D 66E9 9D15  D3CC D4D7 93E2 1FAE F6DF
     we're tired of banana software - shipped green, ripens at home




More information about the Python-list mailing list