A NumPy array is C-ordered. Which loop is faster: summing along rows or along columns? · QuantMax