DMD producing huge binaries
Kagamin via Digitalmars-d
digitalmars-d at puremagic.com
Sat May 21 12:13:47 PDT 2016
On Saturday, 21 May 2016 at 18:18:21 UTC, Andrei Alexandrescu
wrote:
> He said that that won't happen any longer, the growth was
> because of the return type. Is that correct?
https://issues.dlang.org/show_bug.cgi?id=15831#c4
Looks like growth is due to the fact that the voldemort type is
in the scope of a function and function is fun!(T).fun(T) - hence
each level multiplies by 2. And return type is not part of the
mangled name already - that would cause circular dependency, you
would need the voldemort type mangling to generate it.
More information about the Digitalmars-d
mailing list