jduo opened a new pull request, #38266: URL: https://github.com/apache/arrow/pull/38266
### Rationale for this change Provide a way for a user to reuse a buffer when iterating over byte-array-based ValueVectors to avoid excessive reallocations. ### What changes are included in this PR? Add a reusable buffer interface that can be populated by character and binary vectors to avoid allocations when consuming vector content. Optimize getObject() on VarCharVector/LargeVarCharVector to avoid an extra allocation of a byte array (copy from ArrowBuf directly to the resulting Text). ### Are these changes tested? ### Are there any user-facing changes? No. -- 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]
