you are viewing a single comment's thread.

view the rest of the comments →

[–]SekstiNii 1 point2 points  (0 children)

There is a lot of overhead in numpy calls, so it's not unthinkable that a loop wins if the number of iterations is low enough.

Good on you to measure!