Comment by jeffbee

5 years ago

Right, a protobuf message that consists of a single 100MB string will be "decoded" dramatically faster than 2GB/s, because you only need visit the tag and the length and store the address and length, aliasing the input.

It's really quite impossible to discuss data encoding performance outside of a given schema.