You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Eduardo Ponce (Jira)" <ji...@apache.org> on 2021/09/01 05:16:00 UTC

[jira] [Created] (ARROW-13824) [C++][Compute] Make constexpr BooleanToNumber kernel

Eduardo Ponce created ARROW-13824:
-------------------------------------

             Summary: [C++][Compute] Make constexpr BooleanToNumber kernel
                 Key: ARROW-13824
                 URL: https://issues.apache.org/jira/browse/ARROW-13824
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
            Reporter: Eduardo Ponce
            Assignee: Eduardo Ponce
             Fix For: 6.0.0


The *Call* method of the [BooleanToNumber|https://github.com/apache/arrow/blob/master/cpp/src/arrow/compute/kernels/scalar_cast_numeric.cc#L267] kernel can be simplified into a one-liner and made *constexpr*.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)