On Tue, May 12, 2015 at 5:58 PM, Mikhail Nikonov < [email protected]> wrote:
> First of all, thanks for the great work; I've been using protobufs for a > while, and it's good to see them evolving. > > One question - if map field is internally emulated by repeated field type, > is it packed (e.g. [packed=true]) by default, and is there a way to pack it? > No. Only repeated primitive fields can be packed but map fields are represented as repeated message fields on the wire. > As a related question, was there a thought about making repeated fields > packed by default, now that .proto language is changing in > backward-incompatible manner? > Yes, we decided to make repeated primitive fields always packed in proto3. It will be updated soon. > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/protobuf. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
