Python is slow

sturlamolden sturlamolden at
Fri Dec 12 15:41:27 CET 2008

On Dec 12, 3:27 pm, "David Cournapeau" <courn... at> wrote:

> I want faster function
> calls to use with numpy: do you know of any solution ? Pypy certainly
> isn't, at least today.

An interesting thing for numpy would be to use CUDA. If we can move
floating point ops to the GPU, a common desktop computer could yield
teraflops. A subclass of ndarray could be written for the nvidia GPU.

Using OpenMP within NumPy would also be interesting. There are desktop
computers available today with two quadcore processors.

There is multiprocessing, which works nicely with numpy. You can even
have multiple processes working on ndarrys that point to the same
shared memory. Just allocate a multiprocessing.Array and use its
buffer to create ndarray views.

More information about the Python-list mailing list