bit.xor (arity 3)ΒΆ

dst[:n] ^= src[:n]
dst,src are bit[:n].

SignatureΒΆ

def xor n, dst, src { ... }

Defined in bit/logics.fj β€” lines 15–17 (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.xor/2 Next: bit.exact_xor β†’