[Cython] Speed of cython.compile

Stéfan van der Walt stefan at sun.ac.za
Wed Sep 21 08:16:23 CEST 2011


On Tue, Sep 20, 2011 at 10:26 PM, Robert Bradshaw
<robertwb at math.washington.edu> wrote:
> OK, I just pushed a commit that should speed things up a lot. There's
> still a lot of overhead in calling a @cython.compile method that could
> be trimmed, but it's nowhere near as extreem as it used to be.

Fantastic--it's much, much better now.

(500 elements)
Cython: 0.167359113693
Python: 0.123614788055

(5000 elements)
Cython: 1.89832210541
Python: 2.36055994034

Thanks, Robert!

Stéfan


More information about the cython-devel mailing list