I
Ian
This is partly related to the kernel C/C++ thread, one thing I'm not
sure about with modern C compiler is how aggressively they inline
trivial functions as an optimisation.
A C++ compiler will be fairly aggressive in this area, so it is
generally safe to assume that short functions will get inlined away as
this tends to improve both code size and execution speed.
Do modern C compilers do the same?
Cheers,
Ian.
sure about with modern C compiler is how aggressively they inline
trivial functions as an optimisation.
A C++ compiler will be fairly aggressive in this area, so it is
generally safe to assume that short functions will get inlined away as
this tends to improve both code size and execution speed.
Do modern C compilers do the same?
Cheers,
Ian.