Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…ncrease
  • Loading branch information...
commit c86a2e481d2aeff3d0098bcc3358df5d3a43c560 1 parent ba7f2bc
@GHF GHF authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/ConstraintJacobian.h
View
4 src/ConstraintJacobian.h
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.