News for hackers. Stuff that matters.
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?

Re:Efficient C Tip – use the modulus (%) operator with caution by calloc on Wednesday February 09, 2011 @01:22PM (#2198603)
Arduino uses GCC as its compiler.