2 ms·
One example that immediately comes to mind is how division by a fixed divider is usually optimized by the compiler into something like "quotient * 2137812389123
by formerly_proven 5y ago
One example that immediately comes to mind is how division by a fixed divider is usually optimized by the compiler into something like "quotient * 21378123891231 >> 5". Meanwhile a value like 0xFF0000 is probably an unremarkable mask for the third byte.