Re: Packed option for repeated fields?

2009-01-21 Thread Gregg Helt
; >> >> What's the status of the "packed" option for repeated fields? Is this >> still intended for a future protobuf release? I searched for "packed" >> and the last post in this group about it was in August. >> >> many thanks! >&g

Re: Packed option for repeated fields?

2009-01-21 Thread Kenton Varda
The [packed=true] option is now implemented in SVN (rev 92). On Wed, Dec 3, 2008 at 10:14 AM, gregg wrote: > > > What's the status of the "packed" option for repeated fields? Is this > still intended for a future protobuf release? I searched for "packed&qu

Re: Packed option for repeated fields?

2009-01-15 Thread Alek Storm
> Right.  That way we can use the "length-delimited" wire type for this, so > old parsers will be able to skip it. Cool, that's exactly what I was thinking. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Protocol B

Re: Packed option for repeated fields?

2009-01-15 Thread Kenton Varda
On Thu, Jan 15, 2009 at 1:39 PM, Alek Storm wrote: > > Just to clarify (because I can't find this addressed anywhere else), > the length delimeter for repeated fields will be the byte count of the > whole array, not the count of its elements, right? So an array of 3 > fixed32's would have length

Re: Packed option for repeated fields?

2009-01-15 Thread Alek Storm
Just to clarify (because I can't find this addressed anywhere else), the length delimeter for repeated fields will be the byte count of the whole array, not the count of its elements, right? So an array of 3 fixed32's would have length 12, not 3. --~--~-~--~~~---~--~--

Re: Packed option for repeated fields?

2009-01-15 Thread Kenton Varda
2:53 pm, Kenton Varda wrote: > > > On Wed, Dec 3, 2008 at 10:14 AM, gregg wrote: > > > > What's the status of the "packed" option for repeated fields? Is this > > > still intended for a future protobuf release? I searched for "packed" > &g

Re: Packed option for repeated fields?

2009-01-15 Thread Caleb
On Dec 3 2008, 2:53 pm, Kenton Varda wrote: > On Wed, Dec 3, 2008 at 10:14 AM, gregg wrote: > > What's the status of the "packed" option for repeated fields? Is this > > still intended for a future protobuf release? I searched for "packed" > >

Re: Packed option for repeated fields?

2008-12-03 Thread Kenton Varda
Coincidentally, I'm currently in the process of reviewing a change that implements this. It probably won't be in 2.0.3, but may reach SVN in a week or two. On Wed, Dec 3, 2008 at 10:14 AM, gregg <[EMAIL PROTECTED]> wrote: > > > What's the status of the "pack

Packed option for repeated fields?

2008-12-03 Thread gregg
What's the status of the "packed" option for repeated fields? Is this still intended for a future protobuf release? I searched for "packed" and the last post in this group about it was in August. many thanks! Gregg On Jul 8, 10:13 am, "Kenton Varda&qu