[Libreoffice-commits] .: Branch 'libreoffice-3-5' - svl/source

Bjoern Michaelsen bmichaelsen at kemper.freedesktop.org
Wed Feb 29 14:30:59 PST 2012


 svl/source/inc/poolio.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 33e530692e5527f3286547647604cbcd2e410b82
Author: Michael Stahl <mstahl at redhat.com>
Date:   Mon Feb 27 20:43:28 2012 +0100

    SfxItemPool: replace deque with vector for SfxPoolItem array
    
    Yields measurable speedup on load/store of large documents, wonder where
    the equivalent patch i committed long time ago to OOo went...
    
    Signed-off-by: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>

diff --git a/svl/source/inc/poolio.hxx b/svl/source/inc/poolio.hxx
index 15f55ee..7c2cfc6 100644
--- a/svl/source/inc/poolio.hxx
+++ b/svl/source/inc/poolio.hxx
@@ -56,7 +56,7 @@ struct SfxPoolVersion_Impl
                     {}
 };
 
-typedef std::deque<SfxPoolItem*> SfxPoolItemArrayBase_Impl;
+typedef std::vector<SfxPoolItem*> SfxPoolItemArrayBase_Impl;
 
 typedef boost::shared_ptr< SfxPoolVersion_Impl > SfxPoolVersion_ImplPtr;
 typedef std::deque< SfxPoolVersion_ImplPtr > SfxPoolVersionArr_Impl;


More information about the Libreoffice-commits mailing list