2 ms·
It is even worse then switch/match statements. The jump tables can be used to train CPU to jump to a wide variety of addresses than switch/match statements so m
by fpoling 9y ago
It is even worse then switch/match statements. The jump tables can be used to train CPU to jump to a wide variety of addresses than switch/match statements so mounting a speculative execution attack is simpler.
- gpderetta 9y agotrue. Then again switch statements (and I assume match statements in language that have them) are often compiled down to a jump table...