hex.xor_byte_to_ptr (arity 3)ΒΆ

Effectively:  hex.xor *ptr[:n], hex[:2n]
ptr is a hex[:w/4] that holds an address, which we assume is an hex-variable, which is dw-aligned.

SignatureΒΆ

def xor_byte_to_ptr n, ptr, hex { ... }

Defined in hex/pointers/xor_to_pointer.fj β€” lines 63–66 (view on GitHub).

ComplexityΒΆ

  • Time: n(w(0.5@+2)  + 19@+38)

  • Space: n(w(0.9@+17) + 15@+207)

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

SourceΒΆ

Depends onΒΆ


← Previous: hex.xor_hex_to_ptr/3 Next: hex.pointers.xor_hex_to_ptr_and_inc β†’