[Issue 15481] GC profiler thinks reducing array.length triggers reallocation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 28 08:58:43 UTC 2022


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305 at gmail.com
         Resolution|---                         |FIXED

--- Comment #3 from RazvanN <razvan.nitu1305 at gmail.com> ---
Running the example today yields:

bytes allocated, allocations, type, function, file:line                         
             32»              1»int[] D main test.d:3

So this seems to have been fixed by:
https://github.com/dlang/druntime/pull/2607

--


More information about the Digitalmars-d-bugs mailing list