[phobos] phobos commit, revision 1678

Don Clugston dclugston at googlemail.com
Tue Jun 22 11:26:15 PDT 2010


On 22 June 2010 20:24, Andrei Alexandrescu <andrei at erdani.com> wrote:
> Good question. Only a couple of weeks ago I fixed a big object file bloat by
> moving stuff like this:
>
> static assert(e1);
> static assert(e2);
> static assert(e3);
>
> inside a unittest:
>
> unittest
> {
>    static assert(e1);
>    static assert(e2);
>    static assert(e3);
> }
>
> I recall that the size of hello.o decreased from 30KB to 1.9KB.

It's quite bad that this is happening. We'll need to look into this eventually.


More information about the phobos mailing list