pitrou commented on PR #47013: URL: https://github.com/apache/arrow/pull/47013#issuecomment-3051272031
> So the problem is that, although the `builder->Reserve(num_decode_values)` is being set in decoder, it's batch size might be much smaller ( maybe page num-values ) than values to decode, causing re-allocating? Yes, because the decoder is working on a single page at a time. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org