[
https://issues.apache.org/jira/browse/ARROW-9067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17128337#comment-17128337
]
Antoine Pitrou commented on ARROW-9067:
---------------------------------------
Yes, this would be useful (including for Parquet perhaps). Perhaps move them
into {{int_util.h}}?
> [C++] Create reusable branchless / vectorized index boundschecking functions
> ----------------------------------------------------------------------------
>
> Key: ARROW-9067
> URL: https://issues.apache.org/jira/browse/ARROW-9067
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Wes McKinney
> Priority: Major
> Fix For: 1.0.0
>
>
> It is possible to do branch-free index boundschecking in batches for better
> performance.
> I am implementing this as part of the Take/Filter optimization (so please
> wait until I have PRs up for this work), but these functions can be moved
> somewhere more general purpose and used in places where we are currently
> boundschecking inside inner loops.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)