mapleFU opened a new issue, #39377:
URL: https://github.com/apache/arrow/issues/39377

   ### Describe the enhancement requested
   
   in `::arrow::io::CompressedInputStream::Impl`, the `decompressed_buffer_` is 
initialized as 1MB, and would:
   
   1. Call `Resize` to release the memory if possible ( 
https://github.com/apache/arrow/blob/main/cpp/src/arrow/io/compressed.cc#L303 )
   2. Droped the memory when buffer exhausted ( 
https://github.com/apache/arrow/blob/main/cpp/src/arrow/io/compressed.cc#L324 )
   
   Can we avoid re-allocating the buffer frequently, trying to keep 1MB data 
here?
   
   ### 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]

Reply via email to