Is while or for faster?
#2

In my tests ( http://pastebin.com/Hj0tJjCx ), while was slightly faster. However, the difference was 7800 ms for 'for' and 7300 ms for 'while' at 100,000,000 loops, which is but an infinitesimal difference.
Reply


Messages In This Thread
Is while or for faster? - by Memoryz - 06.10.2010, 22:00
Re: Is while or for faster? - by bigcomfycouch - 06.10.2010, 22:15

Forum Jump:


Users browsing this thread: 1 Guest(s)