You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2021/08/26 16:59:00 UTC
[jira] [Commented] (ARROW-13769) [C++] BitmapAnd, BitmapOr... could
return the number of set bits
[ https://issues.apache.org/jira/browse/ARROW-13769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17405365#comment-17405365 ]
Antoine Pitrou commented on ARROW-13769:
----------------------------------------
cc [~lidavidm]
> [C++] BitmapAnd, BitmapOr... could return the number of set bits
> ----------------------------------------------------------------
>
> Key: ARROW-13769
> URL: https://issues.apache.org/jira/browse/ARROW-13769
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Antoine Pitrou
> Priority: Minor
>
> When updating a validity bitmap using a bitwise operation such as AND or OR, it can be useful to also know the new validity count. It is probably costless to compute the new popcount inside BitmapAnd and friends. Micro-benchmarks will have to be run to validate that assumption.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)