mistral: fix horrific wire hashing performance

This commit is contained in:
Lofty 2023-09-02 11:30:35 +01:00
parent 1f8e8948ea
commit 83ad4a9f17

View File

@ -106,7 +106,7 @@ struct WireId
bool operator==(const WireId &other) const { return node == other.node; }
bool operator!=(const WireId &other) const { return node != other.node; }
bool operator<(const WireId &other) const { return node < other.node; }
unsigned int hash() const { return unsigned(node); }
unsigned int hash() const { return node.v; }
};
struct PipId