This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Performance of the default node allocator.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]