|
Ruby 4.1.0dev (2026-11-22 revision bf888872d4bc1a58f211c333e22b3be3f30c2c0a)
|

Go to the source code of this file.
Macros | |
| #define | PRISM_LIKELY(x) |
| Branch prediction hints. | |
| #define | PRISM_UNLIKELY(x) |
| The compiler should predicate that this branch will not be taken. | |
| #define PRISM_LIKELY | ( | x | ) |
Branch prediction hints.
These tell the compiler which side of a branch to predicate the fast path through, so it can lay out instructions to favour that side and steer the static branch predictor. The compiler should predicate that this branch will be taken.