16 Sep
2005
16 Sep
'05
9:47 p.m.
On Fri, Sep 16, 2005 at 02:37:14PM -0700, Michael Vanier wrote:
But were they as efficient?
If some code is equivalent to macro expansion then the compiler should be able to optimize it to the same extent as a macro.
The beauty of macros is that a lot of things can be done with no run-time overhead at all.
Macros can lead to bigger generated code size, which can affect performance. Best regards Tomasz