https://perf.dlang.io/#program-hello-binarysize;;1520717151.390981;1521194855.6500907 The overhead is avoidable. Introduced in https://github.com/dlang/phobos/pull/6235
@CyberShadow created dlang/phobos pull request #7164 "Fix Issue 20186 - File size of "Hello, world" executable increased by 185KB" fixing this issue: - Fix Issue 20186 - File size of "Hello, world" executable increased by 185KB We can delay the std.format import until the relevant templates are instantiated. https://github.com/dlang/phobos/pull/7164
dlang/phobos pull request #7164 "Fix Issue 20186 - File size of "Hello, world" executable increased by 185KB" was merged into master: - fe87dc7c4216f7f695ccf3500f92af0cece3d60b by Vladimir Panteleev: Fix Issue 20186 - File size of "Hello, world" executable increased by 185KB We can delay the std.format import until the relevant templates are instantiated. https://github.com/dlang/phobos/pull/7164