jhorstmann commented on pull request #1248:
URL: https://github.com/apache/arrow-rs/pull/1248#issuecomment-1026879011


   > What is interesting, at least to me, is the performance tax imposed by the 
packed bitmask representation of BooleanArray - even with non-trivial 
bit-twiddling shenanigans it still appears to be more performant to hydrate the 
filter to an array of indices or slices when filtering multiple arrays.
   
   On recent intel machines there would be a much faster way using the 
[pext](https://www.intel.com/content/www/us/en/docs/intrinsics-guide/index.html#text=_pext_u64&ig_expand=5394)
 instruction. That basically implements a filter for 64 bits at a time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to