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
in the first case purge is called twice. In the second case purge is called once
Its hard to answer the question about branching because its so dependent on compilers and instruction set. For example on an ARM (which has conditional instruction execution) it might not branch. ON an x86 it almost certainly will