4 ms·
Uh, because it is just syntax sugar for an if-statement. And those are typically implemented using branches. There may be possible optimizations to make them br
by yxhuvud 4y ago
Uh, because it is just syntax sugar for an if-statement. And those are typically implemented using branches. There may be possible optimizations to make them branchfree in certain cases, but it is certainly not something I'd assume would be the default.