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

Ignore pieces with only one state during solving. #1323

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

munificent
Copy link
Member

Straight up dumb off-by-one error. 🙃

This should make the solver a little faster (though it mostly uses the piece state map to look up states, so the shorter piece list won't have a huge effect).

The biggest practical effect is that the debug output of the solver is a lot easier to read because it isn't cluttered up by pointless pieces that it isn't solving for.

Straight up dumb off-by-one error. Oops!

This should make the solver a little faster (though it mostly uses the
piece state map to look up states, so the shorter piece list won't have
a huge effect).
@munificent munificent merged commit acf0c8e into main Nov 16, 2023
7 checks passed
@munificent munificent deleted the ignore-stateless-pieces branch November 16, 2023 18:53
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

Successfully merging this pull request may close these issues.

3 participants