[C++] Use shared_ptr<DataType> less throughout arrow/compute

XMLWordPrintableJSON

      It turns out we generate a ton of code just copying and manipulating shared_ptr<DataType> throughput arrow/compute, and especially in the configuration of the function/kernels registry. One function RegisterScalarArithmetic generates around 300kb of code, which on looking at disassembly contains a significant amount of inlined shared_ptr template code. I made an attempt to refactoring things to use const DataType* for function signatures which removes quite a bit of code bloat, and puts us on a path to using fewer shared_ptr's in general

            Assignee:
            Wes McKinney
            Reporter:
            Wes McKinney
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 4h
                4h