3 ms·
> you get straight jump instructions with enough case statement branches, and it is very fast That's what pretty much any half-decent compiler does nowadays. I
by vardump 8y ago
> you get straight jump instructions with enough case statement branches, and it is very fast
That's what pretty much any half-decent compiler does nowadays. It'd be much more surprising if it didn't.
- TimJYoung 8y agoThe interesting part to me was the variations in the emitted instructions, based upon the source. IOW, it would be easy to mistakenly think that you weren't going to get jumps if you only used a few case branches to test things out.