C++ - Most efficient way to remove an element from a Message's repeated array

2009-10-05 Thread jaypipes
Hi all, I'm wondering what is the most efficient method to remove an element from a Message's vector of repeated elements? I looked at the RepeatedFieldPtr API but would appreciate some example code on how to do this in the most efficient way. I gather from the API that the underlying storage

Re: C++ - Most efficient way to remove an element from a Message's repeated array

2009-10-05 Thread Kenton Varda
On Mon, Oct 5, 2009 at 10:33 AM, jaypipes jaypi...@gmail.com wrote: I'm wondering what is the most efficient method to remove an element from a Message's vector of repeated elements? I looked at the RepeatedFieldPtr API but would appreciate some example code on how to do this in the most

Re: C++ - Most efficient way to remove an element from a Message's repeated array

2009-10-05 Thread jaypipes
Gotcha. Thanks for the assistance, Kenton! --~--~-~--~~~---~--~~ 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