On Sat, Oct 31, 2009 at 7:52 AM, Evan Jones <ev...@mit.edu> wrote:

> Hm. It is a little interesting that it would use so much more memory
> than using Java serializable ...
>

Protocol buffers need to keep track of which fields are set.  Currently this
is done using a bool for each field.  Perhaps it would be more efficient to
use a bitfield.  We do this in C++ but I haven't had a chance to do the same
optimization in Java.

--~--~---------~--~----~------------~-------~--~----~
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