If you haven't run across Matt Godbolt's series on the Advent of Compiler Optimizations yet, the introduction and feed are linked below https://xania.org/202511/advent-of-compiler-optimisation https://xania.org/AoCO2025