[Numpy-discussion] The "NumPy" Cython release + tutorial

Dag Sverre Seljebotn dagss@student.matnat.uio...
Wed Aug 20 15:18:04 CDT 2008


Cython just had a release, and amongst the new features are efficient 
NumPy array indexing for integers, real floats and Python objects.

You can get it at http://cython.org

For those new to Cython, I've written a tutorial specifically targeted 
for NumPy users here:

http://wiki.cython.org/tutorials/numpy

...documenting the process of getting from 1.8 seconds to 6 milliseconds 
for the same data by adding typing in a sample for-loop-intensive code 
snippet. The last section of that tutorial (Efficient indexing) should 
be useful for those who know Cython as well.

-- 
Dag Sverre


More information about the Numpy-discussion mailing list