Garbage Collector profiling and the dynamic array reserve() function

Steven Schveighoffer schveiguy at yahoo.com
Wed Oct 18 15:39:43 UTC 2017


On 10/18/17 1:40 AM, Tony wrote:
> On Tuesday, 17 October 2017 at 13:27:24 UTC, Steven Schveighoffer wrote:
> 
>>
>> I don't know what "allocations" represents, but reserve actually calls 
>> gc_malloc, and the others do not (the space is available to expand 
>> into the block). There should be only one allocation IMO.
>>
> 
> So there should be a bug report written for this?
> 

It all depends on what "allocations" means. I'd wait to find out from 
someone who is familiar with the GC profiling.

-Steve


More information about the Digitalmars-d-learn mailing list