Python is slow

Stefan Behnel stefan_ml at behnel.de
Fri Dec 12 10:06:39 EST 2008


sturlamolden wrote:
> How is the numpy support in Cython going? It was supposed to know
> about ndarrays natively.

It does.


> I.e. not treat them as Python objects, but
> rather as known C structs. That way an operation like arr[n] would not
> result in a callback to Python, but translate directly to fast pointer
> arithmetics.

http://docs.cython.org/docs/numpy_tutorial.html

Stefan



More information about the Python-list mailing list