[linux-audio-dev] code in different files affects speed?

Phil Kerr phil at plus24.com
Sun Dec 8 11:35:00 UTC 2002


 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
>




More information about the Linux-audio-dev mailing list