[Numpy-discussion] Pairwise summation

Keith Goodman kwgoodman at gmail.com
Mon Jan 7 15:15:42 EST 2019

Numpy uses pairwise summation along the fast axis if that axis contains no
more than 8192 elements. How was 8192 chosen?

Doubling to 16384 would result in a lot more function call overhead due to
the recursion. Is it a speed issue? Memory? Or something else entirely?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20190107/d95b5c6c/attachment.html>

More information about the NumPy-Discussion mailing list