I'm still working on my super-big program. There are a lot of places where I do units conversions twice - first I multiply by 1.689, then later I must divide by 1.689. These are peppered throughout a highly iterative routine so I may hit them 50,000 times in a single analysis.
Two Expert's Questions:
1) Is it really much faster to multiply by 0.592 than to divide by 1.689?
2) Should I create equates for 1.689 and 0.592 and use them rather than repeat those constant values wherever needed in the code? Ie., is it (a) faster and/or (b) smaller executable?
Thanks, mighty online gurus!
Dan
Two Expert's Questions:
1) Is it really much faster to multiply by 0.592 than to divide by 1.689?
2) Should I create equates for 1.689 and 0.592 and use them rather than repeat those constant values wherever needed in the code? Ie., is it (a) faster and/or (b) smaller executable?
Thanks, mighty online gurus!
Dan
Comment