[Issue 14133] [REG 2.067] struct ctor init compiles very slow and produces excessive amounts of code
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Mar 19 18:20:23 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14133
Martin Nowak <code at dawg.eu> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P1 |P3
CC| |code at dawg.eu
Summary|change in struct ctor |[REG 2.067] struct ctor
|lowering generates |init compiles very slow and
|excessive init code |produces excessive amounts
| |of code
Severity|normal |regression
--- Comment #1 from Martin Nowak <code at dawg.eu> ---
cat > bug.d << CODE
struct Bug
{
size_t[16 * 1024] data;
}
void test()
{
auto b = Bug();
}
CODE
----
dmd -c bug
----
It looks like related to issue 11233, but is most likely due to the change
struct literal code, that not performs field assignment instead of copying the
init array.
--
More information about the Digitalmars-d-bugs
mailing list