5 ms·
> The more predictable a work process becomes, the quicker people can do it too. The most highly-voted question on Stack Overflow[1] relates to branch predicta
by delta_p_delta_x 4y ago
> The more predictable a work process becomes, the quicker people can do it too.
The most highly-voted question on Stack Overflow[1] relates to branch predictability. There's an almost 10× speed-up when the branch predictor of the asker's CPU is fully engaged.
Modern branch predictors are extremely powerful, with TAGE and perceptrons achieving 99.5%+ prediction accuracy.
https://stackoverflow.com/questions/11227809/why-is-processing-a-sorted-array-faster-than-processing-an-unsorted-array https://stackoverflow.com/questions/11227809/why-is-processi...