Julian way of expressing a buffer swap

Obviously this appeals to my C++ brain, but just wanted to confirm it’s not an anti-pattern for Julia code.

1 Like