[Solved] Nested loops performance [closed]
Lets assume that the inner loop actually does something. FredrikRedin and niculare are, of course, correct, that the number of inner loop executions will be the same. Given that this is the case, the second example is preferred (slightly) because the second example has to set up the inner loop ten times, while the first … Read more