|
🔖 prelude
Useful C header files
|
Compiler hints for performance. More...
Go to the source code of this file.
Macros | |
| #define | unreachable() |
| Hint indicating unreachable code. | |
| #define | assume(COND) |
| Hint indicating a condition must be true. | |
Compiler hints for performance.
| #define assume | ( | COND | ) |
Hint indicating a condition must be true.
The compiler may use the knowledge that COND must be true to make additional optimizations.
| COND | A condition to assume to be true. |
COND may or may not be evaluated at runtime. Avoid passing in conditional expressions that have side effects.| #define unreachable | ( | ) |
Hint indicating unreachable code.
The compiler may use the knowledge that certain code paths are unreachable to make additional optimizations.