It performs better to use unordered_map than std::map here.

Change-Id: I5b89ac2dfbe348f0bf0b07880ccddc734b6d14ab
This commit is contained in:
Kohei Yoshida
2014-01-02 12:37:00 -05:00
parent 49e6016d4e
commit 0f13f675ed

View File

@@ -28,13 +28,14 @@
#include <map>
#include "charttoolsdllapi.hxx"
#include <boost/unordered_map.hpp>
namespace chart
{
typedef int tPropertyValueMapKey;
typedef ::std::map< tPropertyValueMapKey, ::com::sun::star::uno::Any >
tPropertyValueMap;
typedef boost::unordered_map<tPropertyValueMapKey, com::sun::star::uno::Any> tPropertyValueMap;
namespace PropertyHelper
{