[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:24:52 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14133
--- Comment #2 from Martin Nowak <code at dawg.eu> ---
mov %eax,-0x20000(%rbp)
mov %eax,-0x1fffc(%rbp)
mov %eax,-0x1fff8(%rbp)
...
mov %ecx,-0x1f804(%rbp)
xor %edx,%edx // Why edx all of a sudden?
mov %edx,-0x1f800(%rbp)
...
mov %edx,-0xc(%rbp)
mov %edx,-0x8(%rbp)
mov %edx,-0x4(%rbp)
In total 32768 4-byte assignments to initialize the struct.
--
More information about the Digitalmars-d-bugs
mailing list