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]
Other format: [Raw text]

Re: [gnat] reuse of ASTs already constructed


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.


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