On Sun, Aug 21, 2011 at 22:24, Tommy Li <[email protected]> wrote:
> Hi, are "repeated" fields supposed to support efficient random access?

In the in-memory representation of the protocol buffer, they are
essentially stored in an array. So copying it to an array wouldn't buy
you anything

> Or should we copy the data to an Array before we start doing random
> access on it?
>
> --
> 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.

Reply via email to