Re: Extremely long build times
- From: "Allen Bauer (CodeGear)" <abauer@xxxxxxxxxxxxxxxxxxxxxx>
- Date: 31 Jul 2007 13:03:52 -0700
Rudy Velthuis [TeamB] wrote:
James Miller wrote:
Ok, I saw your other message about recursive units. I think that's
your real problem.
What exactly do you mean by that? A unit should not use itself? Why
not?
Units should not mutually use each other. I.e. A uses B and B uses A.
That only works if one of them uses the other in the implementation
section only.
There are also internal limitations in the compiler which can cause
problems if one were to have a deeply recursive set of units. As a
codebase grows, one can lose sight of the overall "reference web" of
units and suddenly trip into this limitation. It is often manifests as
a significant performance degredation and seemingly random error
messages about recursive uses.
Unfortunately when one gets into the situation, it is really a bear to
work one's way out of it. All it takes is for one inadvertent unit to
end up in a long chain of unit uses. Unit A uses B uses C ... uses X
uses Y uses Z uses A...
--
Allen Bauer
CodeGear
Chief Scientist
http://blogs.borland.com/abauer
.
- Follow-Ups:
- Re: Extremely long build times
- From: Jolyon Smith
- Re: Extremely long build times
- From: Rudy Velthuis [TeamB]
- Re: Extremely long build times
- References:
- Extremely long build times
- From: Stavros Papadopoulos
- Re: Extremely long build times
- From: Eduardo A. Salgado
- Re: Extremely long build times
- From: Nikos Bakolas
- Re: Extremely long build times
- From: Lucian Radulescu
- Re: Extremely long build times
- From: Stavros Papadopoulos
- Re: Extremely long build times
- From: Lucian Radulescu
- Re: Extremely long build times
- From: James Miller
- Re: Extremely long build times
- From: Rudy Velthuis [TeamB]
- Extremely long build times
- Prev by Date: Re: Buying "The Tomes of Delphi, Algorithms and Data Structures" from Lulu
- Next by Date: Re: Extremely long build times
- Previous by thread: Re: Extremely long build times
- Next by thread: Re: Extremely long build times
- Index(es):