grpc-rs
grpc-rs copied to clipboard
reduce the memory copy for sending messages
trafficstars
For #134 , we can support parsing protobuf data from gRPC buffer directly, no need to allocate another buffer.
For write, now we still 1 - serialize protobuf to a buffer, 2 - copy the buffer to the context send_message
Maybe we can serialize the protobuf to the gRPC buffer directly and reduce extra memory copy
FYI #238