Originally Posted by quzah How are you getting one memory access? Good compiler will keep it in a register.
Code: //try //{ if (a) do { f( b); } while(1); else do { f(!b); } while(1); //}
//try //{ if (a) do { f( b); } while(1); else do { f(!b); } while(1); //}
Definitely option #2.
If you understand what you're doing, you're not learning anything.