6 ms·
He probably just wanted to test the difference between 'while ' and 'do while' and takes the fastest possible solution (for) as a reference. It's however good t
by sebilasse 13y ago
He probably just wanted to test the difference between 'while ' and 'do while' and takes the fastest possible solution (for) as a reference. It's however good to know that 'do while' is that much slower compared to while.
- anonymoushn 13y agowhile is faster than for here. Testing in Chrome 27.0.1453.116 32-bit on Windows Server 2008 R2 / 7 64-bit