Often times removing deprecated code is purely for developer purity. You just don’t want it lying around.
But 3-10% pps improvement is quite an achievement for removing some branches.
Considering the number linux udp sockets in the wild this is huge. It’s a shame C/compilers can’t optimize this away though without entirely removing the code, this is exactly why zig’s comptime exists.