Micro-optimizations in .NET (x86/x64)
First of all, I want to thank the developers of SharpLab for providing such an amazing tool to explore the machine code generated by the .NET JIT compiler. All examples in this post are based on .NET 7/8.
Conversion from Boolean to Integer
This is a ...
blog.antonr.net3 min read