Hacker News new | ask | show | jobs
by Thiez 798 days ago
That is clearly nonsense, as the results of performing the arithmetic still need to be written back to memory, so it's just a swap with extra operations. See also the xor-swap.