Skip to content

DFS iterator-based recipe iterator - #3991

Closed
jurrejelle wants to merge 1 commit into
1.20.1from
jj/recipe-dfs-1.20.1
Closed

DFS iterator-based recipe iterator#3991
jurrejelle wants to merge 1 commit into
1.20.1from
jj/recipe-dfs-1.20.1

Conversation

@jurrejelle

Copy link
Copy Markdown
Contributor

What

Implement DFS iterator-based recipe searching

Implementation Details

Also removes an early check of (r -> matchRecipe(r).isSuccess()) to (r -> true) for a speedup

Outcome

Finds more recipes, removes a bug where recipes were skipped, is faster overall

Potential Compatibility Issues

Up to discussion if it changes API, if e.g. recurseIngredientTreeFindRecipe as a name is part of our public API or not

Supersedes #3986

@jurrejelle
jurrejelle requested a review from a team as a code owner September 29, 2025 06:13
@jurrejelle jurrejelle added ignore changelog PR should not be added to the changelog. type: refactor Suggestion to refactor a section of code 1.20.1 Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. labels Sep 29, 2025
@github-actions github-actions Bot added the Tests: Passed Game Tests have passed on this PR label Sep 29, 2025
@jurrejelle jurrejelle closed this Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.20.1 ignore changelog PR should not be added to the changelog. Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. Tests: Passed Game Tests have passed on this PR type: refactor Suggestion to refactor a section of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant