Comment #7 on issue 257 by ken...@google.com: Java Protocol buffer payload more than that of regular payload when using repeated tag
http://code.google.com/p/protobuf/issues/detail?id=257

One way that Java serialization can be smaller is if you have a lot of repeats of the same values. Java serialization allows back-links to objects that appeared previously in the stream. Protobuf serialization is strictly a tree; if you need back-links, you have to do it manually, by storing the redundant values in a separate table and indexing into it from the rest of the message.

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to