if, switch and function pointers speed comparison
<p>I'm building a small interpreter so I wanted to test how fast ifs, switch and pointers to functions are, compared to each other. if with 19 else ifs is slightly faster than switch with 20 cases, and function pointers (an array of 20 function pointers) is way slower than the previous two...</p>

<p>I expected the results to be completely opposite, can anyone please explain?</p>
