From a 'C optimisation tutorial'
http://www.abarnett.demon.co.uk/tutorial.html
# Compilers can often optimise a whole file - avoid splitting off
closely related functions into separate files, the compiler will do
better if can see both of them together (it might be able to inline the
code, for example). #
-P
On Sunday, Dec 8, 2002, at 15:48 Europe/London, Paul Davis wrote:
does anyone here know if splitting code across
different files, or for
that matter, reordering the layout of one source file so that
functions called together are now "far apart" can actually affect
execution speed?
--p