Julian way of expressing a buffer swap

Thanks! My intuition here is built from compiler courses 20+ years ago, and I know that, in practice benchmarking is better than guessing anyway. However, I’ll look at those docs to help get a better feel for how Julia’s stack works.

I feel like I’ve got a good sense of cache coherence and SIMD-friendly layout from writing C++/BLAS code. It’s the “when will Julia allocate” and type inference stuff that I’m still getting my head around.