mirror of https://github.com/YosysHQ/yosys.git
Fix performance bug in RTLIL::SigSpec::operator==(), fixes #970
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
parent
314ff1e4ca
commit
9268cd1613
|
@ -3456,7 +3456,7 @@ bool RTLIL::SigSpec::operator ==(const RTLIL::SigSpec &other) const
|
|||
pack();
|
||||
other.pack();
|
||||
|
||||
if (chunks_.size() != chunks_.size())
|
||||
if (chunks_.size() != other.chunks_.size())
|
||||
return false;
|
||||
|
||||
updhash();
|
||||
|
|
Loading…
Reference in New Issue