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?

16th Feb 2018, 5:26 AM
pablo NĂșñez Landa
pablo NĂșñez Landa - avatar
2 Answers
+ 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.
16th Feb 2018, 8:47 AM
Jared Bird
Jared Bird - avatar
16th Feb 2018, 8:45 AM
Solo Wanderer 4315
Solo Wanderer 4315 - avatar