[Issue 10242] Conservative escape analysis for dynamic array allocation
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri May 15 03:25:53 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=10242
Mathias LANG <pro.mathias.lang at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |pro.mathias.lang at gmail.com
Resolution|--- |FIXED
--- Comment #1 from Mathias LANG <pro.mathias.lang at gmail.com> ---
Closing because:
- LDC does this nowadays;
- There are various issues in the tracker for `scope x = new array[]`;
So while the exact suggestion here is not implemented, one can use LDC to
eliminate heap allocations.
--
More information about the Digitalmars-d-bugs
mailing list