mapleFU commented on PR #39403:
URL: https://github.com/apache/arrow/pull/39403#issuecomment-1873623028

   ```c++
   static inline uint64_t TrailingBits(uint64_t v, int num_bits) {
     if (ARROW_PREDICT_FALSE(num_bits == 0)) return 0;
     if (ARROW_PREDICT_FALSE(num_bits >= 64)) return v;
     return ((v >> num_bits) << num_bits) ^ v;
   ```
   
   1. Would you mind change to the code above and I'll rerun a benchmark?
   2. Maybe I should wait for Yibo's idea on ARM machine


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