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

Calculation often fails to converge with sufficiently nested recipes, even without loops. #168

Open
milesman34 opened this issue Dec 10, 2024 · 0 comments

Comments

@milesman34
Copy link

Sometimes when encoding heavily nested crafts into Just Enough Calculation, it will lag a lot when trying to produce the answer, or even just fail to converge. This happens even if there are no loops involved in the craft.

My suggestion for fixing this is to add an in-game setting that disables recipes with loops but enables extra optimizations. The way this would work is by sorting each stage of the craft based on how deeply nested it is, then caching parts of the craft as you go. This allows you to achieve much better performance by not having to redo calculations. I believe the current issue is most likely due to the calculations not being cached..

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

No branches or pull requests

1 participant