Dandandan opened a new issue, #2757:
URL: https://github.com/apache/arrow-rs/issues/2757

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   Most kernels evaluate the operations on all values regardless of whether it 
is null or not.
   However, if the batch consists of mostly nulls, it may be faster to skip the 
null values. We can utilize the `try_for_each_valid_idx` function added 
recently by @tustvold 
   
   **Describe the solution you'd like**
   <!--
   A clear and concise description of what you want to happen.
   -->
   
   At a certain threshold fraction of null values (based on benchmarking) we 
can use the `try_for_each_valid_idx` approach used by the checked variants of 
the kernels to speed up operations on batches with mostly nulls.
   
   **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

Reply via email to