small (very ) compilation speedup

Tim Potter tpot at samba.org
Fri Feb 22 09:39:01 GMT 2002


On Fri, Feb 22, 2002 at 04:31:33PM +0100, Andreas Moroder wrote:

> it was clear to me that real optimization is only possible by rearanging the
> sourcecode, but this is a hard work. The first thing to do, should be to use
> only the really necessary include files in the different sources and to have
> dependencies in the makefile. This means that it is necessary to split
> proto.h.

That is indeed the best way to do this.  mbp estimated 60,000 lines of
unnecessary header files per .c file compiled.


Tim.




More information about the samba-technical mailing list