by TimJYoung · 7y ago · 0 comments
https://stackoverflow.com/a/2548425
I tested this recently (Delphi XE6), and it definitely is as-described: you get straight jump instructions with enough case statement branches, and it is very fast.
Barry Kelly worked on the Delphi compiler, and I believe he comments here on Hacker News occasionally.
That's what pretty much any half-decent compiler does nowadays. It'd be much more surprising if it didn't.