The compiler compiles all. The linker links in only what you use. The
exception is the initialization/finalization. If a unit is in the uses
clause, its initilization and finalization will be executed, regardless. I
actively trim them down, it speeds up compiling, makes a smaller map file
and highlights circular references.
-----Original Message-----
From: Tony Sinclair <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Date: Wednesday, 12 July 2000 11:17
Subject: [DUG]: The Comiler Itself
>Hi all,
>
>how efficient is the Delphi compiler with regarding the uses clause? If
you
>have several units specified, does it link them all even though you may not
>use any functionality out of those units? Next question, what is the
>minimal number of uses required to instantiate a DataModule? There is a
>fairly good sized list up the top there, can you trim it back at all?
>
>Tony Sinclair
>Holliday Group Limited
>Christchurch
>New Zealand
>
>---------------------------------------------------------------------------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz