Performance: Simple upgrade/cleanup of stl c++11 containers (10% perf. increase).
This commit is contained in:
parent
f4673162b7
commit
2f273369e4
10 changed files with 58 additions and 54 deletions
|
|
@ -108,7 +108,7 @@ public:
|
|||
protected:
|
||||
friend class glslang::TLiveTraverser;
|
||||
|
||||
typedef std::map<TString, int> TNameToIndex;
|
||||
typedef std::unordered_map<TString, int> TNameToIndex;
|
||||
typedef std::vector<TObjectReflection> TMapIndexToReflection;
|
||||
|
||||
TObjectReflection badReflection; // return for queries of -1 or generally out of range; has expected descriptions with in it for this
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue