01.06.2010, 14:29
Hello,
I'm making a property system. Made commands, enumerations and other stuff and just started making a function that saves the houses.
And here is the question. What is better and faster:
1. Create 1 file with 2200+ keys, and it will be slow to save just one property, as I'll have to save whole property file.
2. Have separate file for each property that is being updated after some action with the property was performed.
Thanks.
I'm making a property system. Made commands, enumerations and other stuff and just started making a function that saves the houses.
And here is the question. What is better and faster:
1. Create 1 file with 2200+ keys, and it will be slow to save just one property, as I'll have to save whole property file.
2. Have separate file for each property that is being updated after some action with the property was performed.
Thanks.