====================================================================
Published: 2 October 2022
Tags: c#, compiler, optimization
Israel Lot tells the story of five different developers (looks like no genius entry yet, maybe it'll be one of you?), at different levels of expertise, attempting to optimize a checksum method, with varying levels of success. Optimizing stuff like this is usually overkill in 99% of cases, but it's a fun exercise nonetheless.
Some highlights:
- Pro unrolled loops
- Senior used unsafe
- Hacker converted a long to a short vector
- Expert reverses the Endianess