--- Comment #2 from bearophile_h...@eml.cc 2010-06-21 11:23:19 PDT ---
Sorry, I didn't know that. I have thought that the removal of the scope
attribute was only for class instances.
Even if the scope attribute can't be used on dynamic arrays, the last point I
have expressed applies still: if the compiler is able to perform escape
analysis (LLVM has some of such capability) and it can statically verify a
dynamic array never escapes, then if a runtime test shows such dynamic arrays
is small it can be allocated on the stack.
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------