[v3] extern/fixed-memory/archive allocator
Benjamin Kosnik
bkoz@redhat.com
Wed Sep 29 05:24:00 GMT 2004
I'm planning on using this in place of the current strategy for
allocating global objects. Seems to work well in preliminary tests, but
I post this for more comments.
This is just a way of taking existing storage and fitting it in to the
std::allocator model so that STL, string, etc can use it. It can be thought of
http://gcc.gnu.org/ml/libstdc++/2003-01/msg00103.html
crossed with src/global*.cc
Actually I'd like to experiment with pre-allocating space for pools in
mt_alloc with this. But, that's a later patch.
tested x86/linux
-benjamin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: p.20040927
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040929/f2053694/attachment.ksh>
More information about the Libstdc++
mailing list