Object.factory() and exe file size bloat

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 21 04:39:27 PDT 2015


On Friday, 21 August 2015 at 11:34:58 UTC, Steven Schveighoffer 
wrote:
> A MUCH better solution:
>
> T[] _d_arrayliteral(T)(size_t length)

It needs to be trivial wrapper which forwards to proposed

> void* _d_arrayliteralTX(size_t length, size_t sizeelem, uint 
> flags, bool
> isshared);

Otherwise you get another binary bloat issue.


More information about the Digitalmars-d mailing list