Lines Matching full:arena
17 - Several inlined methods in Arena were moved to out-of-line to improve
235 * Performance optimization of arena construction and destruction.
236 * Bug fixes for arena and maps support.
552 * Added arena allocation support (for both proto2 and proto3).
555 fraction of CPU-time spent in protobuf code and arena allocation is a
556 technique introduced to reduce this cost. With arena allocation, new
561 To enable arena support, add the following option to your .proto file:
571 To actually take advantage of arena allocation, you need to use the arena
572 APIs when creating messages. A quick example of using the arena API:
575 google::protobuf::Arena arena;
576 // Allocate a protobuf message in the arena.
577 MyMessage* message = Arena::CreateMessage<MyMessage>(&arena);
578 // All submessages will be allocated in the same arena.
583 // when the arena is destroyed.
586 Currently arena does not work with map fields. Enabling arena in a .proto