fallintoplace opened a new pull request, #1414:
URL: https://github.com/apache/arrow-go/pull/1414

   ## What
   Speed up BitmapEquals for sliced, misaligned ranges.
   
   ## Why
   Unaligned slices use word readers and allocate temporary buffers.
   
   ## Implementation
   - Use masked edge bytes and bytes.Equal for matching byte offsets.
   - Read packed words directly for other offsets.
   - Keep bounds checks and add parity cases for offsets and tails.
   
   ## Benchmark
   **6.53x geometric mean** across 32 isolated cases. Unaligned cases drop from 
2 allocs/op to 0.
   


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