miniblog.
← Back to all posts
Wilfred Hughes
Feb 9, 2019 at 05:40
Beating an optimising compiler at compiling division calculations:
https://lemire.me/blog/2019/02/08/faster-remainders-when-the-divisor-is-a-constant-beating-compilers-and-libdivide/
(TIL that gcc, clang and libdivide use different techniques!)
Faster remainders when the divisor is a constant: beating compilers and libdivide – Daniel Lemire's blog