Have I understood this right, if
statements are more dependent on branch prediction and v-table look-up is more dependent on branch target prediction? Regarding v-tables, there is no "branch prediction", just the target prediction?
Trying to understand how a v-table is processed by the CPU.
if
and loops in general use branch prediction (boolean output) whilst function pointers/virtual functions use branch target prediction (target output). – Bipartisanclose
dialogue :x – Bipartisan