You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Apache Arrow JIRA Bot (Jira)" <ji...@apache.org> on 2020/09/03 03:27:00 UTC
[jira] [Assigned] (ARROW-9904) [C++] Unroll the loop manually for
CountSetBits
[ https://issues.apache.org/jira/browse/ARROW-9904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Arrow JIRA Bot reassigned ARROW-9904:
--------------------------------------------
Assignee: Apache Arrow JIRA Bot (was: Frank Du)
> [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: Apache Arrow JIRA Bot
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> 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)