Just Enough Calculation

Just Enough Calculation

18M Downloads

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

milesman34 opened this issue ยท 0 comments

commented

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..