[Issue 14805] New: Unreasonably slow "new Struct[large]"
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Jul 17 10:42:11 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14805
Issue ID: 14805
Summary: Unreasonably slow "new Struct[large]"
Product: D
Version: D2
Hardware: x86_64
OS: All
Status: NEW
Severity: major
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: wyrlon at gmx.net
struct Struct
{
ushort one;
}
auto dummy = new Struct[513*513];
The above program takes ~50s to compile on a modern computer.
No difference between:
v2.067.1
v2.068.0-b1
--
More information about the Digitalmars-d-bugs
mailing list