-O0 is unnecessarily bloated (can do lots of unnecessary load data to reg, save to stack, load back same reg again) which also makes it hard to read. I find -Og (on gcc) or -O1 to be the sweet spot.
-O0 is unnecessarily bloated (can do lots of unnecessary load data to reg, save to stack, load back same reg again) which also makes it hard to read. I find -Og (on gcc) or -O1 to be the sweet spot.