Cleaning up your uses clauses, removing any redundant units, and moving units from the interface to implementation can improve your compile times and the performance of the Delphi IDE, particularly for versions before 10.4.  Watch this video.