hex.swap (arity 2)¶
hex1, hex2 = hex2, hex1
both hex1,hex2 are hexes.
Signature¶
def swap hex1, hex2 @ end { ... }
Defined in hex/memory.fj — lines 103–109 (view on GitHub).
Complexity¶
Time:
3@+1Space:
3@+37
See the complexity glossary for what @, w, dw, dbit, n mean.