|
|
Re: size: cppuhelper containers ... ~700k: msg#00161
openoffice.devel.general
|
Subject: |
Re: size: cppuhelper containers ... ~700k |
Caolan McNamara wrote:
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 ?
What is o3l? (Anyway, yes, replacing STLport's hash_map with something
more standard and future oriented looks like a good move to me---modulo
any potential compatibility issues, of course.)
-Stephan
C.
(http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2003/n1456.html)
|
|