|
|
|
|
|
by littlestymaar
3088 days ago
|
|
> Imagine every virtual function call in a C++ program being mispredicted and taking twice as long. > (Instead of forcing us to recompile the world, maybe Intel should just disable branch prediction in microcode.) Wouldn't the performance impact be dramatic ? In this[1] example there's a 6 times slowdown between situation with and without correct branch prediction. [1]: https://stackoverflow.com/questions/11227809/why-is-it-faste... |
|
I’m not sure, but that’s what it looks like, so far.