[
https://issues.apache.org/jira/browse/ARROW-9904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antoine Pitrou resolved ARROW-9904.
-----------------------------------
Fix Version/s: 2.0.0
Resolution: Fixed
Issue resolved by pull request 8103
[https://github.com/apache/arrow/pull/8103]
> [C++] Unroll the loop manually for CountSetBits
> -----------------------------------------------
>
> Key: ARROW-9904
> URL: https://issues.apache.org/jira/browse/ARROW-9904
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Frank Du
> Assignee: Frank Du
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.0.0
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> The tight loop below can get better performance if unroll manually to
> indicate the compiler generating better parallel instructions.
> for (auto iter = u64_data; iter < end; ++iter) {
> count += BitUtil::PopCount(*iter);
> }
--
This message was sent by Atlassian Jira
(v8.3.4#803005)