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

Core: faster prog balance #2586

Merged
merged 2 commits into from
Dec 10, 2023
Merged

Core: faster prog balance #2586

merged 2 commits into from
Dec 10, 2023

Conversation

Berserker66
Copy link
Member

What is this fixing or adding?

remove a variable and its updates, skipping instructions
pops by index instead of equality, which is quite a bit faster in itself, though not that much in the context of the whole function

How was this tested?

just a few gens that hit that code path

If this makes graphical changes, please attach screenshots.

@Berserker66 Berserker66 merged commit e8f96da into main Dec 10, 2023
21 checks passed
@Berserker66 Berserker66 deleted the core_faster_prog_balance branch December 10, 2023 19:42
Magnemania pushed a commit to Magnemania/Archipelago that referenced this pull request Jan 3, 2024
* Core: rename world to multiworld in balance_multiworld_progression

* Core: small optimization to progression balance speed
Jouramie pushed a commit to Jouramie/Archipelago that referenced this pull request Feb 28, 2024
* Core: rename world to multiworld in balance_multiworld_progression

* Core: small optimization to progression balance speed
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.

None yet

1 participant