My key take away is that not-taken conditional branches are essentially free, and are not polluting the branch predictor, i.e.
if (__builtin_expect (DEBUG, 0))
if (input < 0 || input > 65536)
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!