On 1/27/19 7:19 AM, Mark Cave-Ayland wrote: > Could this make the loop slower? I certainly haven't noticed any obvious > performance difference during testing (OS X uses merge quite a bit for > display rendering), and I'd hope that with a good compiler and modern branch > prediction then any effect here would be negligible. I would expect the i < n/2 loop to be faster, because the assignments are unconditional. FWIW.
r~