In my work, it's generally better to optimize for clarity rather than performance. I suspect this is true more and more as compilers grow in sophistication. In this vein, use:
x = x / 2
To DIVIDE, use the DIVISION operator.
x = x / 2
To DIVIDE, use the DIVISION operator.
No comments yet.