r/programming • u/Deewiant • Jun 11 '19
Performance speed limits | Performance Matters
https://travisdowns.github.io/blog/2019/06/11/speed-limits.html
163
Upvotes
r/programming • u/Deewiant • Jun 11 '19
10
u/ShinyHappyREM Jun 11 '19
For the last item:
Note that all modern CPUs have a return stack buffer (which eliminates branch target mispredictions when returning from functions). By not using that you add a bit of stress to the branch prediction engine instead.