patch: mt_allocator.h
Dhruv Matani
dhruvbird@gmx.net
Wed Jun 9 13:52:00 GMT 2004
Hi,
Here is the patch. check & check-performance on x86-linux.
On Wed, 2004-06-09 at 12:56, Paolo Carlini wrote:
> Dhruv Matani wrote:
>
> >Think about it this way. Suppose it wasn't, and I used:
> >list<int>;
> >list<string>;
> >list<float>;
> >
> >Then, under the current design, all would have their separate free-lists
> >per thread! Which is obviously insane!
> >
> >
> Ok, ok, let's work on this assumption ;)
>
> >>In any case, what about not splitting mt_allocator in a __gnu_internal::
> >>part and a std:: part?
> >>
> >>
> >You mean a __gnu_internal and a __gnu_cxx part right?
> >
> >
> Indeed.
>
> >>Can't we put *all* the implementation details
> >>inside _Mt_alloc_base?
> >>
> >>
> >Probably? Would you want me to try and do that?
> >
> Yes, please. Always both 'make check' and 'make check-performance', thanks.
>
> Paolo.
--
-Dhruv Matani.
http://www.geocities.com/dhruvbird/
Proud to be a Vegetarian.
http://www.vegetarianstarterkit.com/
http://www.vegkids.com/vegkids/index.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.mt_alloc.09062004.dhruv
Type: text/x-patch
Size: 26559 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20040609/771e4833/attachment.bin>
More information about the Libstdc++
mailing list