This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: RFC: Hint parameter for allocators.
- From: Matt Austern <austern at apple dot com>
- To: Dhruv Matani <dhruvbird at gmx dot net>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Sun, 25 Jan 2004 18:04:58 -0800
- Subject: Re: RFC: Hint parameter for allocators.
- References: <1074767864.2450.15.camel@home.free>
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