mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 08:03:26 +02:00
For performance, use unordered_set/map where possible. No functional change intended.
This commit is contained in:
+1
-1
@@ -98,7 +98,7 @@ private:
|
||||
typedef std::map<const std::pair<AstNodeModule*, string>, AstVar*> VarMap;
|
||||
VarMap m_modVarMap; // Table of new var names created under module
|
||||
VDouble0 m_statSharedSet; // Statistic tracking
|
||||
typedef std::map<const AstVarScope*, int> ScopeVecMap;
|
||||
typedef std::unordered_map<const AstVarScope*, int> ScopeVecMap;
|
||||
ScopeVecMap m_scopeVecMap; // Next var number for each scope
|
||||
|
||||
// METHODS
|
||||
|
||||
Reference in New Issue
Block a user