Anthony Frazier mentions two very true paths for optimizing your Delphi compile times:
- Avoid units with the “read-only” attribute set.
- Avoid large circular dependency groups, particularly if you put everything in the interface’s uses clause rather than the implementation uses clause.
To get rid of the second, you should split your interface and your implementation.
Often, one of these two solutions work for that well:
- Create the interface as a base class, then implement it in a descendant.
- Create the interface as a Delphi interface, then implement it in a class.
Only if those options do not work, then start using Delphi SpeedUp by Andreas Hausladen.
–jeroen
Via: TPersistent.com » Blog Archive » The Power of Open Source.