Re:Efficient C Tip – use the modulus (%) operator with caution
by bigiain on Tuesday February 08, 2011 @07:59PM
(#2195685)
he does say: "In all three cases I used an IAR compiler with full speed optimization"
While this sort of optimization is way-out-on-the-edge-case for most of the code discussed here, I'm going to have to go home tonight and see if a particular bit of AVR code I've been wondering how to speed up is suffering this problem.
I wonder if the Arduino environment does any better here?
While this sort of optimization is way-out-on-the-edge-case for most of the code discussed here, I'm going to have to go home tonight and see if a particular bit of AVR code I've been wondering how to speed up is suffering this problem.
I wonder if the Arduino environment does any better here?