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: PCH [Was: Re: Target FUNCTION_{PRO,EPI}LOGUE question]


dewar@gnat.com writes:

> <<> Are you willing to give us any information about this and your PCH
> > work?  I'd really like to know more about it (without downloading a
> > separate branch and poring over it...)
> >>
> 
> It is ironic that when the GNAT project started up, one of the first
> decisions we made was that, unlike all other Ada compilers previously
> built, we would not do the equivalent of precompiling headers (in Ada
> this translates into precompiling package specs into a library). That's
> always proved a good decision for Ada.
> 
> I wonder just how much gain PCH's give you in g++, especially *after*
> installing Mark's new c++ parser ...

Well, I haven't tried installing Mark's parser yet :-), but I've had
reports of ~8x speedup compiling KDE.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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