This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PCH [Was: Re: Target FUNCTION_{PRO,EPI}LOGUE question]
- To: dewar at gnat dot com
- Subject: Re: PCH [Was: Re: Target FUNCTION_{PRO,EPI}LOGUE question]
- From: Geoff Keating <geoffk at geoffk dot org>
- Date: 01 Jul 2001 23:32:42 -0700
- CC: gcc at gcc dot gnu dot org
- References: <20010702054103.24077F2A8C@nile.gnat.com>
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>