On Sat, Oct 31, 2009 at 7:52 AM, Evan Jones <[email protected]> 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/protobuf?hl=en -~----------~----~----~----~------~----~------~--~---
