HuaHuaY commented on PR #50281:
URL: https://github.com/apache/arrow/pull/50281#issuecomment-4873657051

   After testing the new benchmark, I discovered something unexpected: the 
baseline approach—bitmapand combined with VisitSetBitRunsVoid—actually turned 
out to be the fastest. I attribute this to the bitmap's minimal memory 
footprint, where the performance gains from bitmapand's vectorization outweigh 
the overhead of materializing the bitmap. Consequently, I have decided to close 
this PR and simply materialize the bitmap directly when needed.
   
   At the same time, VisitTwoBitBlocks appears to offer the worst performance. 
I’m curious whether replacing the current usages of VisitTwoBitBlocks with 
bitmapAnd might actually improve performance. I may look into modifying the 
code and running benchmarks to test this when I have the 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