[ANNOUNCE] Garbage collection for Python

Aahz Maruch aahz at netcom.com
Tue Apr 11 16:22:54 EDT 2000


In article <87em8ccywq.fsf at deneb.cygnus.argh.org>,
Florian Weimer  <fw-usenet at deneb.cygnus.argh.org> wrote:
>
>Yes.  AFAIK, Python doesn't perform well in a SMP environment, because
>the interpreter only runs on one CPU at a given time, even if you
>create multiple Python threads.

That is true if you stick to pure Python code and extensions that don't
release the global interpreter lock.  For example, if you're using HTTP,
the socket library releases the global lock and threads are extremely
effective.
--
                      --- Aahz (Copyright 2000 by aahz at netcom.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

Why doesn't "Just Say NO" include caffeine, nicotine, alcohol, Prozac,
and Ritalin?  --Aahz



More information about the Python-list mailing list