mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-01-13 15:27:37 +00:00
hashlib: Improve pool hash function.
This commit is contained in:
parent
3f2e550f51
commit
c07ca64ebe
@ -1004,7 +1004,7 @@ template <typename K, typename OPS> class pool
|
||||
|
||||
bool operator!=(const pool &other) const { return !operator==(other); }
|
||||
|
||||
bool hash() const
|
||||
unsigned int hash() const
|
||||
{
|
||||
unsigned int hashval = mkhash_init;
|
||||
for (auto &it : entries)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user