Optimize included files and uses in Delphi

妖精的绣舞 提交于 2019-12-10 15:16:43

问题


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


回答1:


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

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




回答2:


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



来源:https://stackoverflow.com/questions/2934245/optimize-included-files-and-uses-in-delphi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!