Adding the arenas option is backwards compatible, so that will work for your other usages of the proto file. See this documentation <https://developers.google.com/protocol-buffers/docs/reference/arenas> for the answers to your last questions and more info about arenas!
On Tuesday, August 30, 2022 at 7:05:39 PM UTC-7 [email protected] wrote: > Hi, > > I'm using an old version of protobuf, which does not default to enable > arena. > > So for my .proto file, if I add this option: > > option cc_enable_arenas = true; > > Will it be compatible to application compiled with original .proto file? > (i.e. no cc_enable_arenas). > > What is the implifications of adding this option? e.g. code size increase? > > Thanks. > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/8d7dd968-de93-410f-8914-93ac502c6b98n%40googlegroups.com.
