[Python-Dev] reference counting in Py3K

Donovan Baarda abo at minkirri.apana.org.au
Wed Sep 7 11:53:13 CEST 2005

On Wed, Sep 07, 2005 at 02:01:01AM -0400, Phillip J. Eby wrote:
> Just an FYI; Pyrex certainly makes it relatively painless to write code 
> that interfaces with C, but it doesn't do much for performance, and 
> naively-written Pyrex code can actually be slower than carefully-optimized 
> Python code.  So, for existing modules that were written in C for 
> performance reasons, Pyrex isn't currently a substitute.

I just want to second this; my experiments with pyrex on pysync
produced no speedups. I got a much more noticable speed benefit from
psyco. This was admittedly a long time ago...

Donovan Baarda                http://minkirri.apana.org.au/~abo/

More information about the Python-Dev mailing list