[Numpy-discussion] speeding up operations on small vectors

Christoph Groth cwg@falma...
Tue Oct 11 11:36:49 CDT 2011


>> My question was about ways to achieve a speedup without modifying the
>> algorithm.  I was hoping that there is some numpy-like library for
>> python which for small arrays achieves a performance at least on par
>> with the implementation using tuples.  This should be possible
>> technically.
>
> I'm not aware of such a library. Writing one e.g. with Cython should be
> quite straightforward, however.

That's what I'll probably end up doing...



More information about the NumPy-Discussion mailing list