bit.one (arity 2)ΒΆ
x[:n] = (1<<n) - 1 // all 1's
SignatureΒΆ
def one n, x { ... }
Defined in bit/memory.fj β lines 55β57 (view on GitHub).
ComplexityΒΆ
Time:
n@Space:
n@
See the complexity glossary for what @, w, dw, dbit, n mean.