mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Improved SigMap performance
This commit is contained in:
parent
e69efec588
commit
1e32e4bdae
3 changed files with 16 additions and 5 deletions
|
@ -985,6 +985,11 @@ public:
|
|||
parents[i] = -1;
|
||||
}
|
||||
|
||||
int lookup(const K &a) const
|
||||
{
|
||||
return ifind((*this)(a));
|
||||
}
|
||||
|
||||
const K &find(const K &a) const
|
||||
{
|
||||
return (*this)[ifind((*this)(a))];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue