Hello!
I have read, inline functions are, exactly like macros by the
Preprocessor be implemented directly and therefore offer, due to a
smaller Overheads a certain speed advantage. Did I understand it so
correctly? Why is code implemented by the Preprocessor faster, and/or
why this does not produce so much Overhead?
I hope anyone can help me.
PS.:
I have read this in Bruce Eckel's "Thinking in C++ (9. Inline-Functions)"
So long, Ulf
I have read, inline functions are, exactly like macros by the
Preprocessor be implemented directly and therefore offer, due to a
smaller Overheads a certain speed advantage. Did I understand it so
correctly? Why is code implemented by the Preprocessor faster, and/or
why this does not produce so much Overhead?
I hope anyone can help me.
PS.:
I have read this in Bruce Eckel's "Thinking in C++ (9. Inline-Functions)"
So long, Ulf
Comment