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