forked from teamnwah/openmw-tes3coop
Write save games to a memory stream first
Two motivations for doing this: - If the user chooses to overwrite existing save file, and there is an exception during the save process, the existing file will not be lost. - Many small writes to a file are slow. Very slow. Writing to memory first then writing the completed file to disk appears to be ~500% faster.openmw-38
parent
67a6a8f5d4
commit
66bcd2fd68
Loading…
Reference in New Issue