Micro-optimizations in .NET (x86/x64)
This is the second post in the "Micro-optimizations in .NET" series. If you missed the first one, check out Conversion from Boolean to Integer.
Example 2: Integer Comparison (Branchless Design)
As discussed previously, conditional branches are costly...
blog.antonr.net3 min read