[Numpy-discussion] speeding up operations on small vectors
Tue Oct 11 08:35:51 CDT 2011
> Any other ideas?
I'm not an expert at all, but I far as I understand if you cannot
vectorize your problem, numpy is not the best tool to use if the speed
matter a bit.
Of course it's not a realistic example, but a simple loop computing a
cosine is 3-4 time slower using numpy cos than python math cos (which is
already slower than IDL).
More information about the NumPy-Discussion