Why is indexing into an numpy array that slow?

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Tue Nov 11 00:23:25 CET 2008


Rüdiger Werner:
> So i am looking for any explaination why the numpy version is that slow
> (i expected it to be at least as fast as the pure python version).

For speed use Psyco with array.array. Psyco is available for Python
2.6 too now.

Bye,
bearophile



More information about the Python-list mailing list