mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
For performance, use unordered_set/map where possible. No functional change intended.
This commit is contained in:
+1
-1
@@ -104,7 +104,7 @@ private:
|
||||
|
||||
// TYPES
|
||||
typedef std::map<std::pair<AstScope*, AstVar*>, AstVarScope*> VarToScopeMap;
|
||||
typedef std::map<const AstNodeFTask*, AstClass*> FuncToClassMap;
|
||||
typedef std::unordered_map<const AstNodeFTask*, AstClass*> FuncToClassMap;
|
||||
typedef std::vector<AstInitial*> Initials;
|
||||
// MEMBERS
|
||||
VarToScopeMap m_varToScopeMap; // Map for Var -> VarScope mappings
|
||||
|
||||
Reference in New Issue
Block a user