https://tiki.li/blog/lucky_code.html
https://github.com/protocolbuffers/protobuf/commit/9f29f02a3...
as you've pointed out, you've literally micro-optimised this - isn't this what you'd expect? :)
https://tiki.li/blog/lucky_code.html