felipecrv opened a new pull request, #41021:
URL: https://github.com/apache/arrow/pull/41021
### Rationale for this change
Allow portable use of the "assumption" feature of modern GCC, Clang, and
MSVC compilers.
### What changes are included in this PR?
- Documenting of macros in `macros.h`
- Addition of `ARROW_COMPILER_ASSUME`
- One simple change where this macro simplifies the existing code while
keeping the common case of a loop branch dependent only on local variables
### Are these changes tested?
By existing tests.
--
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]