OpenBlocks

OpenBlocks

56M Downloads

[Request] Open Tanks performance improvements

Slind14 opened this issue ยท 3 comments

commented

Hey,

I'm sure you know that big open tank multiblocks need a lot of resources while liquids are pumped into or taken out.
According to this fact I would like to request a small config option for medium -> big servers.

  1. let us define a max. size of the tanks in the config
  2. or let us reduce the update process to about every 20-200 ticks.

My ideas might be trivial and counter productive but if one of them is easy to implement and optional servers could allow these awesome tanks.

Please give me a quick respond if you will look into it and work on improvements or if you give a fuck :)

commented

Rewrite done, closing this one. Closing this, since we aren't implementing those suggestions.

commented

We are planning changing tank mechanics, but probably not in this direction.

First and foremost, there is no concept tanks cooperating anywhere. So there is no way to limit size, because they are all independent. I always wonder, why people build them so big, even if they know they are laggy?

Also, we can say (based on profiling) that it's filling/draining almost full/empty tanks that's most performance heavy. That's why we are going to simplify than little bit.

commented

sounds good. What can you say about letting the tick update only run every x ticks, I think in most cases this would work, or at least for half of the stuff.