Maximus1
New Contributor II

Well, that's the point. I'm doing a calculation with arrays of size 2^24 (so roughly 17 million) and the loop is ensuring that the calculation is being repeated several times (in this case 1000 times). In the end, the function returns the average time it took to do the calculation.

Because of the array size, I would in fact expect Numpy to go wild, but it doesn't.