bit.zero (arity 2)

x[:n] = 0

Signature

def zero n, x { ... }

Defined in bit/memory.fj — lines 41–43 (view on GitHub).

Complexity

  • Time: n(@-1)

  • Space: n(@-1)

See the complexity glossary for what @, w, dw, dbit, n mean.

Source

Used by

Example uses


← Previous: bit.zero/1 Next: bit.one/1