Delphi: Which are the downsides of having unused units listed in the uses clause?
- by user193655
I use cnPack Uses cleaner, but in general which are the downsides of having useless units?
I know some of them:
1) of course if the unit is never used across the full project there will be useless resource consuption
2) the code insight will give useless results
3) the code insight will be slower
But imagine a simple case:
I have a project with 2 forms, I use StrUtils in one of them but I declared StrUtils in both of them... Is there any downside in temrs of memory consumption in this case or not?