Hacker News new | past | comments | ask | show | jobs | submit login

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: