Delphi: How to organize source code to increase compiler performance?

前端 未结 14 2181
一整个雨季
一整个雨季 2020-12-13 13:14

I\'m working on a large delphi 6 project with quite a lot of dependancies. It takes several minutes to compile the whole project. The recompilation after a few changes is so

14条回答
  •  暖寄归人
    2020-12-13 13:58

    • U can automatically get rid of unnecesseary unit references, which is very efficient optimization for compiling speed.

    • In your situation, dividing your project into packages can improve compiling speed. With this way, it just generates modified package(s), not single massive binary for each recompilation. Working with packages can also help about easy deployment of your project updates.

    • Turn off your live scanning antivirus

提交回复
热议问题