4 ms·
I would hope that on modern compilers on modern architectures, this would be done with zero branches. That is the case in a quick test on my machine (gcc 4.6.3)
by azakai 12y ago
I would hope that on modern compilers on modern architectures, this would be done with zero branches. That is the case in a quick test on my machine (gcc 4.6.3).
- vardump 12y agoGood if compilers are that smart nowadays. Just a few years ago I did see two branches in a very similar piece of code.