alamb commented on issue #15631: URL: https://github.com/apache/datafusion/issues/15631#issuecomment-2786424000
> sum += chunk[i].count_ones() as usize; Maybe simply manually unrolling the loop to check 1024 bits at a time would let llvm make the best code Something like checking windows of 8 `u64s` at a time against 0x0 -- and exiting early if there is a non zero 🤔 -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org