MT allocator?
Benjamin Kosnik
bkoz@redhat.com
Mon Jun 3 03:42:00 GMT 2002
> I would say that implementing [thread] optimized memory management
> into STL is a must and thus minimizing the amounts of malloc() calls
> placed to the OS (and ofcourse make sure that we are only requesting
> full pages of memory and so on...). This way we should be able to get
> similar performance on all platforms as well as improve locality.
This is an interesting idea. It would be nice to have, even as an
option. If somebody wants to step up, provide an implementation and
volunteer to maintain it, I'd be much more interested.
The persistant allocator in POST++ is also interesting.
The more options, the better.
> I don't know if this is the time or place to have this discussion, but
> I do believe that there is a need for it and that there are a lot of
> things that can be done without violating the standard!
This is definitely the place.
I'd suggest coming up with a concrete proposal, perhaps posting a design
document or something on this list and soliciting feedback for the
implementation.
-benjamin
More information about the Libstdc++
mailing list