![GregTech Classic](https://media.forgecdn.net/avatars/thumbnails/206/493/256/256/636957852335170918.png)
MatterFabricator Performance improvements
Speiger opened this issue ยท 0 comments
I found further optimizations that could get rid of any iteration (besides inventory iteration).
- 1: get rid of MultiInput Recipes. Seriously you only use 1 slot in this logic. So multiinput makes no sense at all.
- 2: Fluid Processing can be solved by just creating a fluidContainer that contains the fluid to consume and checks the recipemap with that container. FluidRecipeInputs extract the fluid and only compare that. That would both handle the tank and item entries at once.
- 3: Add a delay variable (that is not saved) that is stopping the entire logic from operating if the thing has nothing to consume for a given amount of time. That means a buildup can happen. If enough power is present but no items.