What    |Removed                     |Added
                 CC|                            |

--- Comment #6 from 2011-10-07 19:09:44 PDT ---
This is also a huge issue when assigning .init to a static array.

ubyte[1024] v;
v = typeof(v).init;

This will generate a dynamically allocated [0, 0, 0 ... ] Arrayliteral for the
rhs expression before calling _d_arraycopy. Even worse the allocated
ArrayLiteral is initialized using 1024 comma expressions. Using -O the compiler
will subsequently almost starve from O(N^2) behavior during comsub

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to