.
In any case, one could maliciously think of special schemes like
while (n > 0)
{
...
n++;
}
vs.
while (n != 0)
{
...
n++;
}
where the compiler can conclude that in the first fragment the test should be performed only at the first iteration and deploy whileto if.
source
share