Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Equality and hashing defaults #35

Open
eelstork opened this issue Oct 20, 2019 · 0 comments
Open

Equality and hashing defaults #35

eelstork opened this issue Oct 20, 2019 · 0 comments

Comments

@eelstork
Copy link
Contributor

Desirable because poorly implemented Equals() leads to solvers exceeding maxIter and/or maxNodes, negatively impacting dev workflow.
One possible route is via structs, but this implies a design effort (mutable structs are probably a poor choice; readonly structs will have restrictions impacting action design.
As an alternative, consider providing generic equality and hashing

@eelstork eelstork changed the title Ease/avoid custom equality and hashing Equality and hashing defaults Oct 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant