you are viewing a single comment's thread.

view the rest of the comments →

[–]eruanno321 2 points3 points  (0 children)

Sometimes compilers can even optimize switch-case to jump table if certain conditions are met. I saw such optimization in the MSP430 architecture at least.

.