[ 
https://issues.apache.org/jira/browse/ARROW-10697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17238273#comment-17238273
 ] 

Antoine Pitrou commented on ARROW-10697:
----------------------------------------

Ok, some observations:
* {{BitmapUInt64Reader}} is better on small bitmaps, but 
{{BitmapWordReader<uint64_t>}} is better on large ones
* a hypothetical {{BitmapUInt64Writer}} implemented similarly as 
{{BitmapUInt64Reader}} is worse on large bitmaps than 
{{BitmapWordWriter<uint64_t>}}
* {{Bitmap::VisitWords}} (as used for Kleene logic kernels) is really strong 
when reading more than 2 bitmaps in lockstep


> [C++] Consolidate bitmap word readers
> -------------------------------------
>
>                 Key: ARROW-10697
>                 URL: https://issues.apache.org/jira/browse/ARROW-10697
>             Project: Apache Arrow
>          Issue Type: Task
>          Components: C++
>            Reporter: Antoine Pitrou
>            Assignee: Antoine Pitrou
>            Priority: Minor
>
> We currently have {{BitmapWordReader}}, {{BitmapUInt64Reader}} and 
> {{Bitmap::VisitWords}}.
> We should try to consolidate those, assuming benchmarks don't regress.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to