in reply to Re^7: Memory leak!
in thread Memory leak!
Gah! You really are infuriating when you go into your pointless, my-view-of-the-world-is-the-only-view defensive mode.
But you didn't show that while (1) {} doesn't get optimised to for (;;) {}. Easy to prove that it does, though. Note the lack of any condition in the following: ... For comparison.
So, the way you choose to view this is that for(;;) {} gets parsed as while(1){} (as demonstrated); but then, because the generated condition is a constant, it get "optimised" back to a special form of for again.
That couldn't possibly be simply an unconditional loop.
You really do live in a world of your own making don't you. (I'm done.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: Memory leak!
by ikegami (Patriarch) on Dec 13, 2011 at 06:49 UTC | |
by BrowserUk (Patriarch) on Dec 13, 2011 at 07:14 UTC | |
by ikegami (Patriarch) on Dec 13, 2011 at 07:31 UTC | |
by BrowserUk (Patriarch) on Dec 13, 2011 at 07:42 UTC | |
by ikegami (Patriarch) on Dec 13, 2011 at 07:54 UTC | |
by ikegami (Patriarch) on Dec 13, 2011 at 07:45 UTC |