[Numpy-discussion] speeding up operations on small vectors
Tue Oct 11 07:14:48 CDT 2011
Olivier Delalleau <firstname.lastname@example.org> writes:
> Here's a version that uses less Python loops and thus is faster. What
> still takes time is the array creation (np.array(...)), I'm not sure
> exactly why. It may be possible to speed it up.
Thank you for your suggestion. It doesn't help me however, because the
algorithm I'm _really_ trying to speed up cannot be vectorized with
numpy in the way you vectorized my toy example.
Any other ideas?
More information about the NumPy-Discussion