For a typical modern compiler on modern hardware, will the ? : operator result in a branch that affects the instruction pipeline?
? :
In other words which i
Calling a function is at least as expensive as doing a logic test + jump (and yes, the ? : ternary operator would require a jump).