jhorstmann opened a new issue, #7936: URL: https://github.com/apache/arrow-rs/issues/7936
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.** The `partition_validity` method looks like it could be more efficient, the current code does not pre-allocate the vectors with the correct capacity based on the known null counts. It also calls `Array::is_valid` via dynamic dispatch, instead of first getting the `NullBuffer` and calling `NullBuffer::is_valid`, which could be inlined. **Describe the solution you'd like** Try to improve it and run the `sort_kernels` microbenchmark. **Describe alternatives you've considered** <!-- A clear and concise description of any alternative solutions or features you've considered. --> **Additional context** <!-- Add any other context or screenshots about the feature request here. --> -- 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.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org