Skip to content

Remove redundent entrance logic check when adding a region to the pool.#5413

Merged
Malkierian merged 2 commits intoHarbourMasters:developfrom
Pepper0ni:OptimiseEntranceConditions
May 2, 2025
Merged

Remove redundent entrance logic check when adding a region to the pool.#5413
Malkierian merged 2 commits intoHarbourMasters:developfrom
Pepper0ni:OptimiseEntranceConditions

Conversation

@Pepper0ni
Copy link
Contributor

@Pepper0ni Pepper0ni commented Apr 16, 2025

Entrance conditions were getting run twice when first adding a region to the region pool as the ToDAccess check and the Region Pool addition were both running effectively the same check. This merges them for a minor optimization (seems to be around 2% shorter seed generation on beginner seeds on debug)

Build Artifacts

@Malkierian Malkierian merged commit 4c9063c into HarbourMasters:develop May 2, 2025
6 checks passed
ReddestDream pushed a commit to ReddestDream/Shipwright that referenced this pull request May 4, 2025
…l. (HarbourMasters#5413)

* remove redundent entrance logic check when adding a region to the pool.

* how did this trigger clang...
krazyjakee pushed a commit to krazyjakee/OOT that referenced this pull request Sep 6, 2025
…l. (HarbourMasters#5413)

* remove redundent entrance logic check when adding a region to the pool.

* how did this trigger clang...
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.

3 participants