logo       

Re: size: cppuhelper containers ... ~700k: msg#00153

openoffice.devel.general

Subject: Re: size: cppuhelper containers ... ~700k

On Tue, 2006-12-19 at 16:36 +0000, Michael Meeks wrote:
> Hi there,
>
> So - in my ongoing campaign to shrink memory usage, it seems that the
> cppuhelper classes use the (uber-stupid) stl::hash_map code that insists
> on allocating a staggering amount of memory for an empty hash (as
> previously discussed).

Maybe it is worth jamming a TR1 alike <unordered_map> implementation
hash_map replacement with a more sensible initial allocation system into
o3l and convert to using that in one fell swoop ?

C.

(http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2003/n1456.html)


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise