Switch to an unordered_map as a micro-optimization.

This commit is contained in:
comex
2014-08-27 22:37:08 -04:00
parent f8452ff501
commit 90638c6806
3 changed files with 18 additions and 4 deletions

View File

@ -1051,4 +1051,4 @@ NativeVertexFormat* VertexLoader::GetNativeVertexFormat()
}
std::map<PortableVertexDeclaration, std::unique_ptr<NativeVertexFormat>> VertexLoader::s_native_vertex_map;
std::unordered_map<PortableVertexDeclaration, std::unique_ptr<NativeVertexFormat>> VertexLoader::s_native_vertex_map;