Dandandan opened a new pull request, #2307:
URL: https://github.com/apache/arrow-rs/pull/2307

   # Which issue does this PR close?
   
   Closes #2306 
   
   # Rationale for this change
    Speedup for (common) case of non-null indices array:
    
    ```
   Benchmarking take bool 512: Collecting 100 samples in estimated 5.0003 s 
(6.8M i                                                                         
       take bool 512           time:   [733.01 ns 733.90 ns 735.34 ns]
                           change: [-76.500% -76.428% -76.358%] (p = 0.00 < 
0.05)
                           Performance has improved.
   Found 3 outliers among 100 measurements (3.00%)
     3 (3.00%) high severe
   
   Benchmarking take bool 1024: Collecting 100 samples in estimated 5.0004 s 
(3.9M                                                                           
      take bool 1024          time:   [1.2751 µs 1.2767 µs 1.2786 µs]
                           change: [-79.428% -79.373% -79.309%] (p = 0.00 < 
0.05)
                           Performance has improved.
   Found 1 outliers among 100 measurements (1.00%)
     1 (1.00%) high severe
   ```
   
   # What changes are included in this PR?
   
   <!--
   There is no need to duplicate the description in the issue here but it is 
sometimes worth providing a summary of the individual changes in this PR.
   -->
   
   # Are there any user-facing changes?
   
   
   <!--
   If there are user-facing changes then we may require documentation to be 
updated before approving the PR.
   -->
   
   <!---
   If there are any breaking changes to public APIs, please add the `breaking 
change` label.
   -->
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to