memory allocation is slow, why and how to improve

Lionello Lunesu lionello at lunesu.remove.com
Thu Oct 19 13:05:20 PDT 2006


"Hasan Aljudy" <hasan.aljudy at gmail.com> wrote in message 
news:eh8jrd$3k8$1 at digitaldaemon.com...
>
>
> Breezes wrote:
>> Hi Andy
>>   Thanks a lot for your quick reply. Definitly I want to test memory 
>> allocation
>> and deallocation as a whole. As you have stated, the main problem of my 
>> simple
>> test is that it is too simple. I think I should construct a more complex 
>> and
>> resonalbe test case.
>
> You can still try the "= void;" initializer for D and get rid of the 
> "delete p;" in C++

Yes, the "=void" and perhaps use "delete" also in D! That would make it 
somewhat fairer.

L. 





More information about the Digitalmars-d mailing list