How costly are calling other methods/functions?

Hi, i come mainly form a c++ background . now been coding in unity
i started thinking, where should i drop neat looking code for speed.
so im thinking just how costly are calling other functions/methods ?

like is calling 2000 functions per frame too much ? ( on idevices )

i dont see a slown-down yet but was just wondering if anyone ran
any timing tests.

Regards
EL

Take a look at the Profiler to see if the Updates/Calls are costing too much

im guessing thats only in pro, mine is grayed out

i think ill be upgrading sooner then later

The overhead of a function call usually doesn’t make much difference unless it is a very short function in a loop that iterates many times. For example, if you are applying a colour operation to each pixel in a texture then you will notice some difference if you put the calculation in a function rather than inline in the loop body.