3 ms·
A correctly predicted branch is almost free, the compiler could check for that case. The real problem of course is that C requires the programmer to obscure th
by lmm 11y ago
A correctly predicted branch is almost free, the compiler could check for that case.
The real problem of course is that C requires the programmer to obscure their intent by messing with a counter variable. Is there really no "loop exactly N times" construct in the language?