Project Red - Fabrication

Project Red - Fabrication

19M Downloads

IC Bluprint lag

hohserg1 opened this issue ยท 0 comments

commented

Describe the bug
Bluprints with large amount of wires cause lag

To Reproduce
Steps to reproduce the behavior:

  1. Place new bluprint to table
  2. Redraw 32*32
  3. Place some amount of non-isolated red wires
  4. Place IO at border
  5. Take it bluprint from table
  6. Place it bluprint to table
  7. Game will freeze

If you fill all areas with wires, it will cause really long lag.
Seems, its problematic code: https://github.com/MrTJP/ProjectRed/blob/1.12.x/src/mrtjp/projectred/fabrication/wiretileabstracts.scala#L302

Expected behavior
Game must not freeze, calculation of blueprint must be fast

Versions
Include versions of the dependencies. And since you're looking at it, make sure ProjectRed is up to date. Don't submit bugs for old versions, as they could have been fixed.

  • CCL Version: 1.12.2-3.2.3.358
  • FMP Version: 1.12.2-2.6.2.83
  • MrTJPCore Version: 1.12.2-2.1.4.43
  • ProjectRed Version: 1.12.2-4.9.4.120

Screenshots/Videos
https://youtu.be/j4qLf2S7VEI