hex.ptr_flip¶
like: *ptr;
Flip the address the pointer points to.
ptr is a hex[:w/4] that holds an address.
Signature¶
def ptr_flip ptr @ cleanup < hex.pointers.to_flip { ... }
Defined in hex/pointers/xor_to_pointer.fj — lines 7–16 (view on GitHub).
Complexity¶
Time:
w(0.5@+2) + @Space:
w(0.5@+14) + @
See the complexity glossary for what @, w, dw, dbit, n mean.