On Monday, 17 March 2014 at 01:05:09 UTC, Manu wrote:
Whole program optimisation can't do anything to improve the situation; it is possible that DLL's may be loaded at runtime, so there's nothing theoptimiser can do, even at link time.
With everything being exported by default, this is true. But should DIP45 be implemented, LTO/WPO will be able to achieve a lot more, at least if the classes in question are not (or not fully) exported.
