Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The above is what, 4-5 bytes of protobuf?

Assuming the integer fields are regular varint types (and not the "fixed" integer encoding), and assuming the tag numbers were all under 16, then this would be a six-byte protobuf.



Thanks. Admittedly a favourable example for protobufs but it shows the point: the names aren't data.


Yep! This improves decoding speed too.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: