lightstep-tracer-python icon indicating copy to clipboard operation
lightstep-tracer-python copied to clipboard

Speed up protobuf serialization

Open rowillia opened this issue 6 years ago • 0 comments

Protobufs are always owned by their parent. Constructing the children first and then passing it to the parent results in a large copy. https://developers.google.com/protocol-buffers/docs/reference/python-generated#repeated-message-fields

rowillia avatar Jan 14 '20 20:01 rowillia