3 ms·
Is there a particular reason that all of the loops are 10k except numpy which is 1M?
by dsp1234 10y ago
Is there a particular reason that all of the loops are 10k except numpy which is 1M?
- fnord123 10y agoBecause it can do so many more iterations in a similar amount of time, it just does them.
- mrdmnd 10y agoThe TimeIt macro runs snippets for a variable number of iterations based on how long the snippet takes.
- joejev 10y agotimeit does a run to decide how many loops to do, since it was much faster it ran it more times.