This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [gnat] reuse of ASTs already constructed
- From: Oliver dot Kellogg at t-online dot de (Oliver Kellogg)
- To: bosch at gnat dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 4 Mar 2003 21:36:39 +0100
- Subject: Re: [gnat] reuse of ASTs already constructed
- References: <69231374-4E7B-11D7-B872-00039344BF4A@gnat.com>
Geert Bosch wrote:
>
> Also, in most typical development schemes, only a
> few units are recompiled at a time, and the back end
> takes significantly more time than the front end anyway.
I have seen several Ada systems with some package specs
on the order of thousands of LOC.
Changing just one line in such a spec results in
massive recompiles - although the only thing changed
is perhaps just a minute detail in the AST of that
large package spec, for example an enum literal added.
Here, the time spent in the front end is quite significant -
if you have to recompile dozens of (not so large) bodies that
depend on the large spec.