save game speed

Post bug reports and ask for support here.

Moderators: Icemania, elliotg

Post Reply
YourConscience
Posts: 57
Joined: Mon Apr 05, 2010 6:59 am

save game speed

Post by YourConscience »

Saving the game takes literally minutes. From observing CPU usage and write speed it's clear to me that the problem is that the writing occurs in an unbuffered way. A simple fix would be to not write to the file at first, but to save everything into a byte array, and once that is finished, write out the entire save in one consecutive write operation. That way even a 100MB save would take only 3 secs to store.
User avatar
BigWolfChris
Posts: 665
Joined: Wed Mar 31, 2010 4:26 pm
Contact:

RE: save game speed

Post by BigWolfChris »

I believe some save/load game optimization will be in the next patch But I believe this suggestion to be a sound one Of course, I tend to only deal with database saving and loading, so no idea if this would actually benefit on a physical file action
AMD Ryzen 7 2700X 8 Core @3.7GHz
2x16 GB Vengeance LPX 2666MHz RAM
MSI RTX 2070 Armor 8G
SSD Drive
Post Reply

Return to “Tech Support”