Bug 11233 – DMD HEAD very slow with large static array struct field

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-10-12T03:08:00Z
Last change time
2013-10-13T21:01:22Z
Keywords
performance, pull
Assigned to
nobody
Creator
dlang-bugzilla

Comments

Comment #0 by dlang-bugzilla — 2013-10-12T03:08:33Z
struct S { uint[0x100000] arr; } The above file takes over a minute to compile. Regression introduced in commit 52f378e631b863a70dc3493a726bd83b2bb7f523.
Comment #1 by k.hara.pg — 2013-10-13T00:55:28Z
Comment #2 by k.hara.pg — 2013-10-13T00:55:39Z
*** Issue 11237 has been marked as a duplicate of this issue. ***
Comment #3 by github-bugzilla — 2013-10-13T09:20:42Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/70028fc5f90ef2753ee684b4a60d6889c5f7ad0a fix Issue 11233 - DMD HEAD very slow with large static array struct field https://github.com/D-Programming-Language/dmd/commit/f1c2fc73797fa006a812ea768cad0a6504d77860 Merge pull request #2659 from 9rnsr/fix11233 [REG2.064a] Issue 11233 - DMD HEAD very slow with large static array struct field
Comment #4 by github-bugzilla — 2013-10-13T11:36:18Z
Commit pushed to 2.064 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/8f973d947ba262f35e0e0c8e00c1b533389c8fa0 Merge pull request #2659 from 9rnsr/fix11233 [REG2.064a] Issue 11233 - DMD HEAD very slow with large static array struct field