Giter VIP home page Giter VIP logo

integratedterminals-compat's People

Contributors

jack-mckalling avatar regnander avatar rubensworks avatar snonky avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

regnander snonky

integratedterminals-compat's Issues

JEI compat overloads client

Issue type:

  • ๐ŸŒ Performance issue

Short description:

When playing large mod packs and having a lot of items stored in the network, the JEI transferRecipe compat will overload the client.

Steps to reproduce the problem:

  1. Install way too many mods
  2. Get your storage full of different items
  3. Press 'u' in JEI on a common item
  4. The longer the recipe list the more load on the client.

Here's an example of a list with 12 pages of recipes (I pressed 'u' on planks):

jei_recipe_list


Versions:

  • This mod: 1.0.0
  • Minecraft: 1.19.2
  • Forge: 43.2.6

Proposed solution:

I'm already looking into making a PR for this and the problem lies here. The transferRecipe method is called every tick for every recipe in the JEI recipe list. Thus the cache stops working with >1 recipes in the list.

The question is now should I implement a more sophisticated cache or just add a config option to disable recipe transfer?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.