jorgecarleitao commented on pull request #348: URL: https://github.com/apache/arrow-rs/pull/348#issuecomment-850896662
I did not have the time to review this, but I think that this will over-allocate in all cases where `MutableArrayData`'s API is used. In particular, this will overallocate in: * `filter` arrays, as it now pre-allocates the maximum size of the string array, even if we only keep a single slot. * `zip` kernel: we now allocate `falsy.len() + truthy.len()`, even though we will only pick either from one or the other. -- 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: [email protected]
