Does this mean that when end_point0 =new EdgeEndpoints(){A=0,B=3}, end_point1 =new EdgeEndpoints(){A=1,B=2}, their hash values are equal
zyxia opened this issue · comments
When the hash values are equal, doesn't it affect the index of the Dictionary?
Yes, but it won't break the dictionary- the hash value is allowed to collide with other entries. It's just not ideal.
This hash could be improved, I just didn't bother at the time.