3 ms·
To be clear for anyone reading, we're parsing and generating the data-related protobufs ourselves, and retaining ownership of the memory returned by gRPC to obt
by wesm 7y ago
To be clear for anyone reading, we're parsing and generating the data-related protobufs ourselves, and retaining ownership of the memory returned by gRPC to obtain zero copy.
The C++ details are found in
https://github.com/apache/arrow/blob/master/cpp/src/arrow/flight/serialization_internal.cc https://github.com/apache/arrow/blob/master/cpp/src/arrow/fl...
- jumpingmice 7y agoHave you considered/tried using the new ParseContext instead of CodedInputStream? It is performance-oriented. Edit: Apparently it's also the default in protobuf 3.10
- wesm 7y agoI wasn't aware of it but will take a look. Thanks!