2 ms·
TL;DR: Subtraction was used for comparison (an optimization trick that nearly always works). We all make mistakes, but here's a great example of why not to go b
by zamalek 5y ago
TL;DR: Subtraction was used for comparison (an optimization trick that nearly always works). We all make mistakes, but here's a great example of why not to go branchless, especially outside of a hot path.