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 _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion