map vs unordered_map remake

This commit is contained in:
tigrazone
2017-12-09 11:59:33 +02:00
parent dc4c970262
commit 3c0196bfb7

View File

@@ -363,9 +363,6 @@ void LoadMtl(std::map<std::string, int> *material_map,
#include <fstream>
#include <sstream>
//tigra: unordered_map for hashed keywords
#include <unordered_map>
#define TINYOBJLOADER_IMPLEMENTATION_BUFREAD
@@ -561,7 +558,7 @@ enum tokens_enum {
TOK_norm
};
std::unordered_map <uint32_t,int> hashed_toks;
std::map <uint32_t,int> hashed_toks;