liyafan82 opened a new pull request #7149:
URL: https://github.com/apache/arrow/pull/7149


   We improve the performance of the max-min kernel with the simple idea: if 
the current value is smaller than the current min value; then there is no need 
to compare it against the current max value, because it must be smaller than 
the current max value.
   
   This simple trick reduces the expected number of comparisons from 2n to 
1.5n, which can be notable for large arrays.
   
   


----------------------------------------------------------------
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]


Reply via email to