??? 02/15/07 13:41 Read: times Msg Score: +1 +1 Informative |
#133044 - Examples are not equivalent Responding to: ???'s previous message |
Christoph Franck said:
For example, while(somechar-- != 0) { DO_STUFF } and do { DO_STUFF } while(--somechar != 0) These loops are not equivalent! Take care converting one to the other. Maybe a better example is how badly Keil compiles: *a++ = *b++; Which generates lots more code than: *a = *b; ++a; ++b; |