Hacker News new | ask | show | jobs
by im3w1l-alt 2182 days ago
Checking divisibility by a known constant can be done in a better way than doing a division.

https://lemire.me/blog/2019/02/08/faster-remainders-when-the...