spring/spring — comment on commit 39496262fb39eb169f28d908ed4c31425b4b901a
File:  line 0
By tvo:

Branch misprediction is much cheaper than main memory reference (rule of thumb: factor 20), so IMHO there is not much point bothering about branch mispredictions before cache use has been optimized.

@zerver care to show some numbers? (how much of total execution time is spend in these methods and how much % difference between the two approaches)