hex.xor_hex_from_ptrΒΆ

Effectively:  dst ^= *ptr
dst is a hex. ptr is a hex[:w/4] that holds an address, which we assume is dw-aligned.

SignatureΒΆ

def xor_hex_from_ptr dst, ptr < hex.pointers.read_byte { ... }

Defined in hex/pointers/xor_from_pointer.fj β€” lines 6–10 (view on GitHub).

ComplexityΒΆ

  • Time: w(0.75@+ 5) + 6@+13

  • Space: w(0.75@+29) + 6@+36

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

SourceΒΆ

Depends onΒΆ

Used byΒΆ

Example usesΒΆ


Next: hex.xor_byte_from_ptr β†’