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: RFC: Hint parameter for allocators.


On Jan 22, 2004, at 2:50 AM, Dhruv Matani wrote:

4. Does anyone know of an allocator that makes use of the hint parameter
for locality preservation?

I don't know of any. There's a chicken-and-egg problem, of course: most
of the standard containers don't bother to use the hint parameter because
most allocators don't take advantage of it, and most allocators don't bother
to provide this functionality for exactly the same reason.


--Matt


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