4 ms·
I agree. Though what it gets compiled down to depends on the compilation strategy. If your compiler is smart enough, and your use of functions as variables /
by eru 16y ago
I agree. Though what it gets compiled down to depends on the compilation strategy. If your compiler is smart enough, and your use of functions as variables / function pointers is weak [1] enough, your functions may, say, just get inlined into a big case-statement-like construct.
[1] In the sense of http://en.wikipedia.org/wiki/Strength_reduction http://en.wikipedia.org/wiki/Strength_reduction