Re:Squeezing a Little More Performance Out of Bytecode Inter...
by superdimwit on Sunday June 18, 2023 @03:04PM
(#36383265)
On 1: this small amount of overhead matters because the amount of work you do on each opcode can be tiny. The extra jump could be 20% of your runtime!
On 2: yes, this helps the indirect branch target predictor. In a real program you’ll often get repeated sequences of opcodes (increment, then compare) that can be predicted. These branch predictors can be pattern based.
[ Parent
| on HN ]
There are no comments on this comment yet.