[ https://issues.apache.org/jira/browse/ARROW-13824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ARROW-13824: ----------------------------------- Labels: pull-request-available (was: ) > [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 > Priority: Trivial > Labels: pull-request-available > Fix For: 6.0.0 > > Time Spent: 10m > Remaining Estimate: 0h > > 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)