bit.mov (arity 3)

note: doesn’t work if dst and src overlap. works if dst==src.
dst[:n] = src[:n]
dst,src are bit.vec[:n].

Signature

def mov n, dst, src @ end { ... }

Defined in bit/memory.fj — lines 83–87 (view on GitHub).

Complexity

  • Time: n(2@-2)

  • Space: n(2@-2)

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

Source

Depends on

Used by

Example uses


← Previous: bit.mov/2 Next: bit.swap/2