Day 20 of Advent of Compiler Optimisations!
Loop over 65,536 integers doing comparisons — that's 65,536 iterations, right? Wrong! With the right flags, the compiler processes 8 integers per iteration using SIMD instructions. Same number of assembly instructions, 8× the throughput. What's the trick that makes this possible?
Read more: https://xania.org/202512/20-simd-city
Watch: https://youtu.be/d68x8TF7XJs