[Issue 15481] GC profiler thinks reducing array.length triggers reallocation
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Dec 28 06:20:26 PST 2015
https://issues.dlang.org/show_bug.cgi?id=15481
--- Comment #2 from Valentin Milea <valentin.milea at gmail.com> ---
Maybe the reallocation function is called and returns the same buffer. But why
call it in the first place, if reducing array length is supposed to be
_equivalent_ to slicing?
--
More information about the Digitalmars-d-bugs
mailing list