Game over; save everything or only what has changed
Posted: Sat Jul 09, 2022 10:20 am
Happy hello,
I have 66 dictionaries holding player stats (each dictionary contains about 500 keys each with a value of a class with 6 or 7 simple fields); in a typical play session, only some of the dictionaries change.
Should I simply save all dictionaries at the end of gameplay (is there overhead saving an unchanged dictionary?) or should I set bools for dictionaries that have changed and use a conditional statement to only save changed dictionaries or does EasySave3 have an if (item.changed) > then save - type of functionality?
Thanks!
Danny
I have 66 dictionaries holding player stats (each dictionary contains about 500 keys each with a value of a class with 6 or 7 simple fields); in a typical play session, only some of the dictionaries change.
Should I simply save all dictionaries at the end of gameplay (is there overhead saving an unchanged dictionary?) or should I set bools for dictionaries that have changed and use a conditional statement to only save changed dictionaries or does EasySave3 have an if (item.changed) > then save - type of functionality?
Thanks!
Danny