News for hackers. Stuff that matters.
Re:Using Protobuf instead of JSON to communicate with a fron... by haberman on Friday June 05, 2015 @05:08PM (#9668186)
> 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.

Re:Using Protobuf instead of JSON to communicate with a fron... by alkonaut on Friday June 05, 2015 @05:21PM (#9668257)
Thanks. Admittedly a favourable example for protobufs but it shows the point: the names aren't data.
Re:Using Protobuf instead of JSON to communicate with a fron... by haberman on Friday June 05, 2015 @05:35PM (#9668327)
Yep! This improves decoding speed too.