Repeating the same processing until a condition is met.
A control structure that uses constructs such as for or while to repeatedly execute a block until a condition is met. Compilers and JITs sometimes apply optimizations such as hoisting loop invariants or unrolling, so how a loop is written can affect the efficiency of the generated code.
© 2026 ITBGM