[
https://issues.apache.org/jira/browse/ARROW-6456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17014526#comment-17014526
]
Antoine Pitrou edited comment on ARROW-6456 at 1/13/20 6:19 PM:
----------------------------------------------------------------
The cause is quite simple: there's cartesian product of 8 index types * 31 data
types * 8 combinations of (indices can be null, values can be null, indices can
be out of bounds) which generates a lot of different specializations.
was (Author: pitrou):
The cause is quite simple: there's cartesian product of 8 index types * 31 data
types which generates a lot of different specializations.
> [C++] Possible to reduce object code generated in compute/kernels/take.cc?
> --------------------------------------------------------------------------
>
> Key: ARROW-6456
> URL: https://issues.apache.org/jira/browse/ARROW-6456
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Wes McKinney
> Priority: Major
> Fix For: 0.16.0
>
>
> According to
> https://gist.github.com/wesm/90f73d050a81cbff6772aea2203cdf93
> take.cc is our largest piece of object code in the codebase. This is a pretty
> important function but I wonder if it's possible to make the implementation
> "leaner" than it is currently to reduce generated code, without sacrificing
> performance.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)