Performance of the default node allocator.

Gabriel Dos Reis gdr@integrable-solutions.net
Fri Nov 7 17:29:00 GMT 2003


Dhruv Matani <dhruvbird@gmx.net> writes:

|                           BTW, an allocator calling malloc and free
| performs better in terms of preserving order of elements in memory.

The default allocator must call operator new.
Next, there is no intrinsic reasons why our implementations of
allocators must be inefficient.

-- Gaby



More information about the Libstdc++ mailing list