Re:Accelerating Python Libraries with Numba (Part 2)
by freyrs3 on Thursday May 23, 2013 @05:27PM
(#5759627)
At least in CPython sum() will go through PyNumber_Add over heap allocated Python objects. With numpy.sum, the inner loop of the ufunc is summing over an contiguous block of machine types.
[ Parent
| on HN ]
There are no comments on this comment yet.