You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "xiangxiang Shen (Jira)" <ji...@apache.org> on 2022/06/17 08:49:00 UTC

[jira] [Created] (ARROW-16849) [C++][compute] Replace If-Else branch with bitwise operators in aggregate_basic_internal

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)