hex.if (arity 4)ΒΆ
if hex[:n]==0 goto l0, else goto l1.
SignatureΒΆ
def if n, hex, l0, l1 { ... }
Defined in hex/cond_jumps.fj β lines 48β51 (view on GitHub).
ComplexityΒΆ
Time:
n(@-1)Space:
n(@+15)
See the complexity glossary for what @, w, dw, dbit, n mean.
SourceΒΆ
Click to view the macro body
def if n, hex, l0, l1 {
rep(n-1, i) .if1 hex+i*dw, l1
.if hex+(n-1)*dw, l0, l1
}