[
https://issues.apache.org/jira/browse/ARROW-13769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17442365#comment-17442365
]
Antoine Pitrou commented on ARROW-13769:
----------------------------------------
[~pradeepgarigipati] I would favor 1) and 3). Hopefully we can make it so that
performance doesn't suffer.
> [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
> Assignee: Pradeep Garigipati
> Priority: Minor
> Labels: good-first-issue, pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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.20.1#820001)