The answer is – you really don’t need to be worrying about this at this juncture. If your code is running too slow, then you can experiment with some optimization. However, “too slow” is subjective.
Premature Optimization Is The Root Of All Evil.
As angelatlarge points out, for the moment – go with what is easily readable, and easily maintainable.
8
solved Multiplication or if: what is more efficient? [closed]