Coding guidelines. (Which have turned in to habit.)
Though it has been several years since I last saw a compiler allocate a temporary - or even an extra register - to a post-increment or -decrement in a void context.
And even in a non-void context, on many micros, the compiler will use an in-place inc/dec instruction so no extra register or temporary required.
In reply to Re^4: quickness is not so obvious
by RonW
in thread quickness is not so obvious
by DanBev
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |