[Issue 15982] std.array.array treats dynamic arrays as input ranges and allocates new memory

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon May 2 04:06:15 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=15982

--- Comment #2 from sigod <sigod.mail at gmail.com> ---
It's meaningless for dynamic arrays.

Currently, if you change you code from ranges to arrays you have to remove use
of `array()` or it just adds hidden cost.

--


More information about the Digitalmars-d-bugs mailing list