About
conditional are expressions that:
- determines the next statement to execute
- by evaluating a comparison expression
Ultimately, they are predicate that returns a boolean.
They model a flow of statements.
They are translated into conditional CPU instruction.
List
- Switch / case A switch is a multi-way branch.
Branch prediction
The performance of an if-statement depends on whether its condition has a predictable pattern. See CPU - Branch