Permalink
Browse files

Changed map to hash_map (from C++11), saw a significant performance i…

…ncrease
  • Loading branch information...
1 parent ba7f2bc commit c86a2e481d2aeff3d0098bcc3358df5d3a43c560 @GHF GHF committed Apr 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/ConstraintJacobian.h
View
@@ -10,14 +10,14 @@
///-------------------------------------------------------------
/// Includes
///-------------------------------------------------------------
-#include <map>
+#include <hash_map>
#include "Constraint.h"
#include "TransformNode.h"
///-------------------------------------------------------------
/// Typedefs
///-------------------------------------------------------------
-typedef std::map<int, Mat4d> DofIdToMatrixMap;
+typedef std::hash_map<int, Mat4d> DofIdToMatrixMap;
///-------------------------------------------------------------
/// @ConstraintJacobian

0 comments on commit c86a2e4

Please sign in to comment.