3 ms·
Haswell can branch predict the indirect branch at the end of each bytecode instruction to dispatch the next bytecode instruction much better than previous gener
by jashmatthews 7y ago
Haswell can branch predict the indirect branch at the end of each bytecode instruction to dispatch the next bytecode instruction much better than previous generations.
In highly dynamic languages like JS, Ruby and Python it’s not even this which is the main source of branching anyway. It’s branching on the typesfor each opcode to handle all valid types.