Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/sys



On Sun, 4 Jan 2004, Steven J. Dovich wrote:
> And that coddles the lazy at the expense of compile time. Consider
> the lexing costs for all the redundant including of required headers
> which have already been included. That can amount to a measurable
> difference in compile time, particularly when extended across the
> entire NetBSD source tree.

This should not be the case for gcc 3.3 -- it is supposed to be smart
enough to skip the files that have already been lexed (provided they have
#ifndef guards, and the guarding macro has not been undefined since the
file was included the first time).

   /Krister



Home | Main Index | Thread Index | Old Index