This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Precompiled headers (or other speed ups)
- To: dewar at gnat dot com, shebs at apple dot com
- Subject: Re: Precompiled headers (or other speed ups)
- From: dewar at gnat dot com
- Date: Tue, 9 Jan 2001 22:52:48 -0500 (EST)
- Cc: amep at softhome dot net, gcc at gcc dot gnu dot org
<<> By comparison, if you use GNAT to compile the DEC starlet library, which
> is 64,000 lines of very dense declarations, that is with'ed by typical
> applications, much as a C++ compiler eats headers with #include, it takes
> a few seconds on a fast PC.
Watch out for those "few seconds"! - if you're compiling 360 source
files, 10 seconds/compile adds up to a full hour. To be as fast as MW,
you have to get done with each file in under a second.
>>
r
few seconds actually is about 2.3 seconds ....
my point here is that there is a big discprepancy between the speeds, and
that is strange. As I say, our impression for the GNAT case is that we
would not save much by the equivalent of precompiling headers ...