[ 
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)

Reply via email to