westonpace opened a new issue, #41142: URL: https://github.com/apache/arrow/issues/41142
### Describe the enhancement requested Comment from review of https://github.com/apache/arrow/pull/40696 > You can use destination-passing style to avoid extra allocations with protobuf types: ``` auto *user_defined = lit_->mutable_user_defined(); user_defined->set_type_reference(anchor); value.PackTo(user_defined->mutable_value()); ``` This will improve the performance of the Substrait serde ### Component(s) C++ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
