This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Precompiled headers (or other speed ups)


<<> 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 ...

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]