Kaydet (Commit) 7c7d5c0e authored tarafından Michael Stahl's avatar Michael Stahl

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...
üst a2db9f4d
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment