-
Notifications
You must be signed in to change notification settings - Fork 751
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
Muse Dash: Remove regions for a decent speed gain in generating worlds #3435
Muse Dash: Remove regions for a decent speed gain in generating worlds #3435
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes LGTM and performance improvements are significant
One suggestion about code comment, but otherwise looks good!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I agree with the idea behind the PR, but it comes from the world maintainer so I defer to their design decisions. I'm actually surprised this improves performance, that goes against what I thought I knew about region performance.
The code seems good, it does what it claims to do
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes LGTM and match the logic of the game. Saw the same speed improvements with my own tests with 10-world and 500-world random generations on the same seeds
ArchipelagoMW#3435) * Remove Muse Dash Regions. * Update comments.
ArchipelagoMW#3435) * Remove Muse Dash Regions. * Update comments.
ArchipelagoMW#3435) * Remove Muse Dash Regions. * Update comments.
ArchipelagoMW#3435) * Remove Muse Dash Regions. * Update comments.
ArchipelagoMW#3435) * Remove Muse Dash Regions. * Update comments.
What is this fixing or adding?
Removes the regions for Muse Dash in order to gain a decent amount of performance for larger worlds.
How was this tested?
Tests and checking the generation log to ensure nothing broke.
Performance testing
Tests were not done with set seeds. As the performance difference was consistently large.