This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Precompiled headers (or other speed ups)
On Wed, Jan 10, 2001 at 02:29:03PM +0100, Andi Kleen wrote:
>
> I don't know why that's the case, but I suspect all the operator overloading
> resolving and handling of the non regular C++ grammar etc. has a cost over C.
> [It actually quite surprised me, I always assumed that the backend would
> dominate compile cost]
There have been some changes since
http://gcc.gnu.org/ml/gcc/2000-08/msg00515.html
was posted in last August, but there is a good example of how the parser
can dominate just about everything. That message kicked off a very good
discussion on precompiled headers and parsing performance in C++.
Phil
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.