petra
petra copied to clipboard
Performance of Switch Table vs Generic Switch if/else Statements
have you tested how the performance of switch_table compares to a standard switch statement and/or if - else if - else statements?
debating whether it's is worth the effort of switching (no pun intended ;) lol ) over, and if so.. all the time or just sometimes.
Hi Victor!
I'm going to work on benchmarks in this upcoming week... I'll update you when they are ready :)
can't wait to see!