Roland Bengtsson
Roland Bengtsson

Reputation: 5158

Optimize included files and uses in Delphi

I try to increase performance of Delphi 2007 and Codeinsight. In the application there are 483 files added in the DPR file.

I don't know if it is imagination but I feel that I got better performance from Codeinsight by simply readd all files in the DPR.

I also think (correct me if I'm wrong) that all files that are included in a uses section also should be included in the DPR file for best performance.

My question is, does it exists a tool that scan the whole project and give a list what files are missing in the DPR file and what files can be removed? Would also be nice to have a list of uses that can be removed in the PAS files.

I found Pascal Analyzer that seems to be a good tool. Comments about this specially in this case is appreciated.

A related question is here.

Regards

Upvotes: 4

Views: 859

Answers (2)

TridenT
TridenT

Reputation: 4909

From the same editor as Pascal Analyser, ICARUS is free and do this job in the simplest way.

http://www.peganza.com/#ICARUS

Upvotes: 4

mjn
mjn

Reputation: 36644

Regarding the unused units: cnWizards contains a uses cleaner which works very well

Upvotes: 6

Related Questions