3 ms·
Note that this will probably cause branch prediction misses, just like thread switching does - modern CPUs have a return address predictor which is just a simpl
by pjdesno 2y ago
Note that this will probably cause branch prediction misses, just like thread switching does - modern CPUs have a return address predictor which is just a simple stack. I don’t think you can avoid this without compiler support.