MIT Technology Review: An Interview With Bjarne Stroustrup

Sean Kelly sean at f4.ca
Sun Dec 10 13:45:58 PST 2006


Pragma wrote:
> zz wrote:
>> Pragma wrote:
>>> zz wrote:
>>>
>>>
>>> While I'm no STL guru, I have to ask: which allocator were you using 
>>> with ptr_vector?
>>>
>> For the first number we used VS2003 SMT CRT (Default allocator)
>> With the other test we used nedmalloc as the allocator (just over load 
>> new and delete in C++ (it's a c library).
>>
>> http://www.nedprod.com/programs/portable/nedmalloc/
> 
> Wow.  Well that explains it then.
> 
> Sean, you should seriously check this thing out.  Maybe this could be
> adapted to be used in Ares?

It shouldn't be too hard to create a D wrapper for it, but converting it 
to a garbage collector would be non-trivial.  It may be best to simple 
offer it as an add-on package for folks who really need that extra bit 
of performance.


Sean



More information about the Digitalmars-d mailing list