Might as well use a new object. Creating a new object is if anything likely less overhead.
--Chris On Oct 25, 2010, at 1:52 PM, ury <[email protected]> wrote: > Hi! > > Is it possible to reuse the same Protobuf object when unserializing a > large number of objects in Java using the equivalent of the C++ > ParseFromArray ? i.e. Does the Java implementation has the Clear() > method ? > > Thanks! > > -- > 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. > -- 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.
