3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-06 06:03:23 +00:00

Improved SigMap performance

This commit is contained in:
Clifford Wolf 2015-10-28 11:21:55 +01:00
parent e69efec588
commit 1e32e4bdae
3 changed files with 16 additions and 5 deletions

View file

@ -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))];