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

Answer caching does not work for string answer #16

Open
dupdob opened this issue Dec 30, 2022 · 0 comments
Open

Answer caching does not work for string answer #16

dupdob opened this issue Dec 30, 2022 · 0 comments
Assignees
Labels
bug Something isn't working fixed in codebase the issue is fixed or implemented in the codebase, but not released

Comments

@dupdob
Copy link
Owner

dupdob commented Dec 30, 2022

When the answer to AoC puzzle is a string, the answer is always submitted to the AoC site, while the automaton is supposed to detect a re submission.

The problem comes from the Automaton using the string's hashcode : those are the same for identical strings, but they are not constant across different runs!

@dupdob dupdob self-assigned this Jan 4, 2023
@dupdob dupdob added bug Something isn't working fixed in codebase the issue is fixed or implemented in the codebase, but not released labels Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed in codebase the issue is fixed or implemented in the codebase, but not released
Projects
None yet
Development

No branches or pull requests

1 participant