mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-07 06:33:24 +00:00
hashlib: Use a better hash for pool.
This commit is contained in:
parent
934c82254d
commit
c172fef01a
1 changed files with 1 additions and 1 deletions
|
@ -988,7 +988,7 @@ public:
|
||||||
return !operator==(other);
|
return !operator==(other);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool hash() const {
|
unsigned int hash() const {
|
||||||
unsigned int hashval = mkhash_init;
|
unsigned int hashval = mkhash_init;
|
||||||
for (auto &it : entries)
|
for (auto &it : entries)
|
||||||
hashval ^= ops.hash(it.udata);
|
hashval ^= ops.hash(it.udata);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue