removal of dead functions and methods

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 24 12:48:16 PST 2014


On 12/24/2014 7:10 AM, Kapps wrote:
> Does DMD/Optlink on Windows do this too? I've noticed that using DMD/Optlink on
> Windows, my executable is 4MB for unittests on a module that uses a lot of CTFE
> template methods, while with DMD/ld on Linux (and I believe GDC/ld as well), the
> same test executable is over 40MB.

You can find out what is in an executable by linking with the /MAP option.


More information about the Digitalmars-d mailing list