eg. message A { string a; when set_a(), memory of a in heap(new/malloc) int b; when set_b(), memory of b in stack };
if defines many composite sub-class objects, a lot of time cost in new/ malloc. are you think so? or have a good idear for this? -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to proto...@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.