This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Precompiled headers (or other speed ups)
- To: gcc at gcc dot gnu dot org, pedwards at disaster dot jaj dot com
- Subject: Re: Precompiled headers (or other speed ups)
- From: dewar at gnat dot com
- Date: Wed, 10 Jan 2001 12:35:26 -0500 (EST)
<<Perhaps in Ada parsing only takes microseconds. In most of the C-family
languages with which I am familiar, parsing takes the majority of the time.
>>
If by parsing you mean lexical analysis and construction of the syntax
tree (NOT including static semantic analysis), then this should be very
rapid. There is nothing especially difficult about C or C++ with respect
to lexical analysis and parsing.
If the static semantic analysis is taking a lot of time, perhaps there
are some non-optimal algorithms that need looking at. I do not see why
C++ should be significantly harder to handle than Ada 95 in this regard.