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

Recreate difficulty calculator when changing mods to guarantee DHOs update #243

Merged
merged 2 commits into from
Jan 16, 2025

Conversation

stanriders
Copy link
Member

No description provided.

@smoogipoo
Copy link
Contributor

Is there a reason for not creating the calculators every time when required? Storing and re-using them is not supported in general.

@stanriders
Copy link
Member Author

I am reusing the calculator/DHOs for object inspection, but I guess that can be refactored into recreating when necessary. I'll look into it separately though, it's not critical as the only bug with reusing calculators can be triggered by doing some very unusual things

@stanriders stanriders added the perfcalc-gui PerformanceCalculatorGUI label Jan 15, 2025
@smoogipoo smoogipoo merged commit 8929399 into ppy:master Jan 16, 2025
3 checks passed
@stanriders stanriders deleted the recreate-calculators branch January 16, 2025 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
perfcalc-gui PerformanceCalculatorGUI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants