xiangxiang Shen created ARROW-16849:
---------------------------------------

             Summary: [C++][compute] Replace If-Else branch with bitwise 
operators in aggregate_basic_internal
                 Key: ARROW-16849
                 URL: https://issues.apache.org/jira/browse/ARROW-16849
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
            Reporter: xiangxiang Shen


[https://github.com/apache/arrow/blob/8737123019ecb49e1670ea7b94b02404dc3709b5/cpp/src/arrow/compute/kernels/aggregate_basic_internal.h#L189-L193]

 
Here, can use bitwise operators to avoid If-Else branch and improve computation 
performance.
h4.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to