[Issue 16280] -profile=gc wrongly reports allocation when using reserve on dynamic arrays

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 9 15:24:48 UTC 2022


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

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

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

--- Comment #2 from RazvanN <razvan.nitu1305 at gmail.com> ---
I am getting:

capacity: 63
reallocation occurred: 63
reallocation occurred: 91
bytes allocated, allocations, type, function, file:line
            880               2 int[] test.append test.d:20

So it seems that this issue has been fixed.

--


More information about the Digitalmars-d-bugs mailing list