11.05.2007, 06:11
Its the idea that you dont have to loop twice.
With 2 loops you go 1, 2, 3,... 1, 2, 3... but with one you just go 1, 2, 3... once so it takes less time.
With 2 loops you go 1, 2, 3,... 1, 2, 3... but with one you just go 1, 2, 3... once so it takes less time.