4 ms·
Is there any reason why something like the following should not work? while (condition) { a(); if (!condition) break;
by mihai_ionic 12y ago
Is there any reason why something like the following should not work?
while (condition)
{
a();
if (!condition)
break;
b();
}
- malisper 12y agoYour example assumes that you can inline the calls to a and b. If you can't (for example if one of them calls themselves) then your optimization won't work.