imraniac opened a new pull request, #48611:
URL: https://github.com/apache/arrow/pull/48611

   ### Rationale for this change
   
   This change replaces custom implementations of bit manipulation functions 
with C++20 standard library functions from the <bit> header. This will reduce 
the code complexity.
   
   ### What changes are included in this PR?
   
   Updated the `cpp/src/arrow/util/bit_util.h` file to replace the custom 
implementation for `PopCount`, `CountLeadingZeros`, and `CountTrailingZeros` 
with C++20 standard library functions `std::popcount()`, `std::countl_zero()` 
and `std::countr_zero()` respectively.
   
   ### Are these changes tested?
   
   Yes
   
   ### Are there any user-facing changes?
   
   No, this is an internal refactoring of bit utility functions.


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