Rich-T-kid commented on PR #10137: URL: https://github.com/apache/arrow-rs/pull/10137#issuecomment-4793366414
I'll experiment with a buffer pool in a separate PR, a pool of pre-allocated buffers sized to `max_bytes_size` that get reused over the lifetime of `FlightDataEncoder`. Realistically this only pays off for large transfers (128KB+), since for smaller allocations the pooling overhead outweighs the benefit and the allocator handles those cases well on its own. [small attempt in this previous commit in this PR](https://github.com/apache/arrow-rs/pull/10137/changes/5ceb08de716c9d3ee5d731b9d6800769e2f28760) -- 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]
