On 22 June 2010 20:24, Andrei Alexandrescu <[email protected]> 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.
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to