[Numpy-discussion] speeding up operations on small vectors
Christoph Groth
cwg at falma.de
Tue Oct 11 08:14:48 EDT 2011
Olivier Delalleau <shish at keba.be> 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
mailing list