etseidl commented on PR #10520:
URL: https://github.com/apache/arrow-rs/pull/10520#issuecomment-5170685554

   Thanks @vedjaw, this seems reasonable. Looking over the existing code, I 
wonder if we could first `reserve_exact` on the buffers before extending? That 
might obviate the need to get rid of speculatively allocated memory, at least 
for uncompressed pages.


-- 
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]

Reply via email to