Improve source files handling in Delphi
Hello,
The current version of compiler adds the whole unit to the project when it is used.
I request an improvement to the compiler.Instead of adding the whole code from the unit,instead add only the functions that are used.
Sample: I create a console application that - 7kb.I add 'SysUtils' only to use StrToInt in my console application --> output executable has size of 300kb.
Would it be posibile to consider such feature to be included in the future of Delphi?
3
votes
This feature already exists. The Delphi compiler already has SmartLinking, which will link in only that code which is touched by the applcation.