10 Nov
2006
10 Nov
'06
12:31 p.m.
On 10-11-2006 12:58:41 +0100, Wouter Scherphof wrote:
Let me just check if I got this correctly: Is it a general rule that each call to a function generates overhead, that can be eliminated by replacing the function with a macro and "calling" the macro instead?
You mean in C? If so, yes, but putting everything in a macro isn't the best thing either. Also macros aren't exactly the same as functions. Alternatively you can choose to inline functions.