BranchHint
This data structure is used by the Zig language code generation and therefore must be kept in sync with the compiler implementation.
Fields of this type
Fields
- none:none
- Equivalent to no hint given.
- likely:likely
- This branch of control flow is more likely to be reached than its peers.
- unlikely:unlikely
- This branch of control flow is less likely to be reached than its peers.
- cold:cold
- This branch of control flow is unlikely to *ever* be reached.
- unpredictable:unpredictable
- It is difficult to predict whether this branch of control flow will be reached.