View Single Post
Old 04-07-2014, 07:43 AM   #6413 (permalink)
MisterSid
EcoModding Lurker
 
Join Date: Mar 2014
Location: New Zeland
Posts: 4
Thanks: 0
Thanked 2 Times in 2 Posts
Quote:
Originally Posted by MPaulHolmes View Post
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").
  Reply With Quote
The Following User Says Thank You to MisterSid For This Useful Post:
MPaulHolmes (04-07-2014)