[Numpy-discussion] speeding up operations on small vectors

Christoph Groth cwg at falma.de
Tue Oct 11 12:41:36 EDT 2011


Skipper Seabold <jsseabold at gmail.com> writes:

> So it's the dot function being called repeatedly on smallish arrays
> that's the bottleneck? I've run into this as well. See this thread
> [1].
> (...)

Thanks for the links.  "tokyo" is interesting, though I fear the
intermediate matrix size regime where it really makes a difference will
be rather small.  My concern is in really tiny vectors, where it's not
even worth to call BLAS.

> I'd be very interested to hear if you achieve a great speed-up with
> cython+tokyo.

I try to solve this problem in some way or other.  I'll post here if I
end up with something interesting.

Christoph




More information about the NumPy-Discussion mailing list