Precompiled headers and General Parsing of Header File

Noel Yap nyap@garban.com
Fri Jul 31 12:33:00 GMT 1998


Kevin Atkinson wrote:
> Truefully I find the compile time for code that uses the STL ridiculously slow
> and there seams to me that they has got to be a way to speed things up by a
> factor of 1/2 or more...

IIRC, older Sun compilers stored a database of precompiled (or was
pre-processed) header files in a database.  Perhaps egcs could do a
similar thing?  I guess the problem is knowing when to update the
database -- IMHO, the real problem is that templates don't fit in well
with the single-pass, compile/link model, but I guess we're stuck with
it.

Noel



More information about the Gcc mailing list