On Sun, Jan 21, 2018 at 5:54 PM <matthewju...@gmail.com> wrote: > Sounds good to me. I'm not familiar with any performance tradeoffs like branch prediction changes, but I assume the compiler result is equivalent.
A sufficiently smart compiler can emit zero conditional branches within CmpX, regardless of the form. -- -j -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.