We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a31b60d commit d12ccceCopy full SHA for d12ccce
src/drt/src/pa/FlexPA_unique.h
@@ -27,6 +27,8 @@
27
28
#pragma once
29
30
+#include <boost/unordered/unordered_flat_map.hpp>
31
+
32
#include "frDesign.h"
33
34
namespace drt {
@@ -158,7 +160,7 @@ class UniqueInsts
158
160
// Mapp all instances to their representative unique instance
159
161
std::map<frInst*, frInst*, frBlockObjectComp> inst_to_unique_;
162
// Maps all instances to the set of instances with the same unique inst
- std::unordered_map<frInst*, InstSet*> inst_to_class_;
163
+ boost::unordered_flat_map<frInst*, InstSet*> inst_to_class_;
164
// Maps a unique instance to its pin access index
165
std::map<frInst*, int, frBlockObjectComp> unique_to_pa_idx_;
166
// Maps a unique instance to its index in unique_
0 commit comments