I am currently working on a server, and I am trying to find out which is the most efficient method of saving/loading player information into a file for an user account/saving system, to optimize my server.
Is it more efficient to: 1) read from the file every-time when needed (Current method)... or is it: 2) more efficient to load and store the user file information into variables, then update the user files with the variables on a timely basis? Are there any better methods, besides these?
Is it more efficient to: 1) read from the file every-time when needed (Current method)... or is it: 2) more efficient to load and store the user file information into variables, then update the user files with the variables on a timely basis? Are there any better methods, besides these?
Aucun commentaire:
Enregistrer un commentaire