Dandandan opened a new pull request #8779: URL: https://github.com/apache/arrow/pull/8779
A thing I noticed while going through some code. When creating a`MutableBuffer` here only `filter_bytes.len()` are being allocated, but the capacity can afterwards being increased when adding bytes using `extend_from_slice`. This changes it to allocate those bytes directly. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org