You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2020/05/27 20:46:00 UTC

[jira] [Created] (ARROW-8969) [C++] Reduce generated code in compute/kernels/scalar_compare.cc

Wes McKinney created ARROW-8969:
-----------------------------------

             Summary: [C++] Reduce generated code in compute/kernels/scalar_compare.cc
                 Key: ARROW-8969
                 URL: https://issues.apache.org/jira/browse/ARROW-8969
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
            Reporter: Wes McKinney
             Fix For: 1.0.0


We are instantiating templates in this module for cases that, byte-wise, do the exact same comparison. For example:

* For equals, not_equals, we can use the same 32-bit/64-bit comparison kernels for signed int / unsigned int / floating point types of the same byte width
* TimestampType can reuse int64 kernels, similarly for other date/time types
* BinaryType/StringType can share kernels

etc.



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