https://issues.dlang.org/show_bug.cgi?id=14805

Ivan Kazmenko <ga...@mail.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ga...@mail.ru

--- Comment #1 from Ivan Kazmenko <ga...@mail.ru> ---
Same here.

Maybe it generates an instance of the array at compile time?
Compile-time function execution is known to be slow.

Interestingly,

void main () {auto dummy = new Struct[513 * 513];}

and even

void main () {enum dummy = new Struct[513 * 513];}

compile just fine.

--

Reply via email to