For performance, use unordered_set/map where possible. No functional change intended.

This commit is contained in:
Wilson Snyder
2020-11-25 20:57:30 -05:00
parent 085ef5fc05
commit f2d8e45d72
22 changed files with 34 additions and 28 deletions
+1 -1
View File
@@ -906,7 +906,7 @@ void GateVisitor::optimizeElimVar(AstVarScope* varscp, AstNode* substp, AstNode*
class GateDedupeHash final : public V3HashedUserSame {
public:
// TYPES
typedef std::set<AstNode*> NodeSet;
typedef std::unordered_set<AstNode*> NodeSet;
private:
// NODE STATE