Blockland Forums > General Discussion
Jasa's CRP
suburb:
--- Quote from: Zeblote on February 12, 2013, 04:36:53 PM ---Also I'm using a SSD, I figured it doesn't like reading and writing hundreds or thousands of files.
--- End quote ---
I- I-
Oh my
SSD's are built to read and write mass amounts of files as fast and efficiently as possible, not to sit and be an expensive paper weight.
-Jetz-:
--- Quote from: Zeblote on February 12, 2013, 04:36:53 PM ---The exec(path) and .save(path) functions are insanely fast.
It took less than 1/2 of a second to save a complete database with 2,000 entries which have 20 values each.
Also I'm using a SSD, I figured it doesn't like reading and writing hundreds or thousands of files.
--- End quote ---
Long term, though, that one file can become much bigger than 2000 entries, and with the mod's expansion, much more than 20 values. Keeping a file for each person means you never have to load data you don't need, and the amount of time loading takes is determined only by the amount of data stored per person, rather than that times the number of people who have ever joined the server.
bejacks:
Bump.
Gizmo.:
--- Quote from: bejacks on February 12, 2013, 10:34:52 PM ---Bump.
--- End quote ---
Bejacks is a trash cop :D
bejacks:
--- Quote from: Gizmo. on February 12, 2013, 11:17:11 PM ---Bejacks is a trash cop :D
--- End quote ---
<3