mistral: fix horrific wire hashing performance
This commit is contained in:
parent
1f8e8948ea
commit
83ad4a9f17
@ -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; }
|
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
|
struct PipId
|
||||||
|
Loading…
Reference in New Issue
Block a user