Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Cargo Menu Lag With Large Transaction  (Read 809 times)

Dostya

  • Lieutenant
  • **
  • Posts: 90
    • View Profile
Cargo Menu Lag With Large Transaction
« on: May 27, 2019, 12:40:34 AM »

I'm running a number of mods and can provide a list if needed, but I don't think any of them are to blame - save, perhaps, in having added a number of items to the game. I am running with the alt-key to move stack option on.

Succinctly: I'm transferring all of my assorted cache of weapons, fighter LPCs, cargo, etc. from my primary colony planet to another one. The first stage of this process is, obviously, loading everything onboard. Everything, in this case, consists of about 30+ rows of assorted goods, weapons, LPCs, blueprints, and various special goodies. After about 17 rows the interface begins to lag, and after about 20 it lags very badly. Finalizing the transaction fixes the problem, and it doesn't return except when moving that many different kinds of goods hither and yon again. I'm guessing that there's something going on in the list of goods that are getting moved that gets recalculated every time something new goes in that ends up scaling very badly, exponentially so, at high numbers.

Not sure if a fix is worth dev time or if I've simply stress tested Starsector's market interface, but I thought I'd put it out there.
« Last Edit: May 27, 2019, 01:03:34 AM by Dostya »
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24118
    • View Profile
Re: Cargo Menu Lag With Large Transaction
« Reply #1 on: May 27, 2019, 10:12:59 AM »

Took a look - hmm, yeah. Made some improvements in that the framerate should stay stable (and decent) while no changes are being made to the transaction, but adding/removing items when it gets to that point would still cause it to skip a frame or two. As you say, it's a bit of an edge case, so proooobably not worth digging into too much further.

Thank you for letting me know!
Logged