Quote:
Originally Posted by MPaulHolmes
I'm confused. must check my work. hahaha. Ya, sticking with scaling by 1024 is a good idea, since it matches the A/D resolution.
|
Sorry, did not intend to add confussion. Take home point was meant to be "Just do what you do, the compiler (should) make it faster for you."
The easier it is to read the better. I hate to think how many 100's of hours I have spent looking for minor little bugs in code the scientists and mathmaticians have made "faster" (what I term "permature optimisation").