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