Excessive memory usage of large hash_maps

Bo Persson bop@gmb.dk
Fri Nov 14 16:01:00 GMT 2003


----- Original Message ----- 
From: "Gabriel Dos Reis" <gdr@integrable-solutions.net>
To: "Benjamin Kosnik" <bkoz@redhat.com>
Cc: "Matt Austern" <austern@apple.com>; <pcarlini@unitus.it>; <libstdc++@gcc.gnu.org>; <pdubuc@cas.org>
Sent: Friday, November 14, 2003 12:20 AM
Subject: Re: Excessive memory usage of large hash_maps


> Benjamin Kosnik <bkoz@redhat.com> writes:
> 
> | Sorry I've taken so long to get to this.
> | 
> | >Didn't realize you were doing that!  I was planning to rewrite the TR1 
> | >version of hash tables once we'd set up the infrastructure for where we'll put 
> | >TR extensions.
> | 
> | I would suggest writing this, and then we'll add it. 
> | 
> | I think the proposals for adding TR1 bits are mostly spot-on. Ie, use
> | include/tr1, and namespace tr1.
>                    ^^^^^^^^^^^^^
> 
> Just to clairy: it is std::tr1.
> 
> | I would add that I think all TR1 code should not go into libstdc++.so
> | (hello, versioning nightmare!) and instead go into a separate library,
> 
> Why?  Codes that do not use TR1 component are not affected.  

Unless some of the standard headers starts to use tr1 components, like type traits. That would interfere with my rights to do

#define is_integral 1


Bo Persson




More information about the Libstdc++ mailing list