[Numpy-discussion] Surprising performance tweak in Cython

Gael Varoquaux gael.varoquaux@normalesup....
Mon Jun 23 07:16:00 CDT 2008

On Mon, Jun 23, 2008 at 02:03:06AM -0400, Anne Archibald wrote:
> One way to track down this kind of problem is to look at the C code
> that's generated. Easier, I admit, with a little familiarity with C,
> but in any case code working with python variables will be obtrusively
> strewn with functions like "PyFoo"; efficient code will be mostly
> devoid of underscores and the "Py" prefix.

Good point. And cython makes this easy to do with the -a switch that
generates anhtml page for that.

Thanks for the tip,


More information about the Numpy-discussion mailing list