0
Is it faster to call a function using a pointer?
Call a function using a pointer or using the normal process... which one is faster?
2 Réponses
+ 2
It should the same. It may depend on the compiler and the optimization options. mostly both versions will be converted a jump/call command and an address in the program code, so should be the same.
+ 2
You may find some answers here:
https://stackoverflow.com/questions/2438539/does-function-pointer-make-the-program-slow