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

Avoid rewriting cache without changes #49

Merged
merged 1 commit into from
Dec 1, 2024
Merged

Avoid rewriting cache without changes #49

merged 1 commit into from
Dec 1, 2024

Conversation

zr40
Copy link
Contributor

@zr40 zr40 commented Dec 1, 2024

get_brief, get_input and submit rewrite the cache even when the data is read from cache (for get_brief and get_input) or no data is changed (for submit when the solution is incorrect).

This PR makes it only rewrite the cache when there's new data to save.

@nuxeh nuxeh merged commit e333fac into nuxeh:master Dec 1, 2024
3 of 4 checks passed
@nuxeh
Copy link
Owner

nuxeh commented Dec 1, 2024

Very nice, thank you!

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.

2 participants