Posts: 359
Threads: 63
Joined: Jul 2010
Reputation:
0
So, so far I have been using Dini happily, for the last year and a half at least.
But I can feel the slowness of this, and I'm looking to upgrade, i'd prefer something with a similar or at least.. not so complicated system, I'm mainly looking for an INI file system, I suck with queries.
Posts: 2,431
Threads: 86
Joined: Nov 2009
Reputation:
0
Well Y_INI may seem hard at first, but once you use it for a little bit and get the hang of it, it's fairly simple. If you honestly don't need MySQL don't use it. I've learned that lesson. Y_INI is faster or just about the same speed if i remember correctly, and more secure than MySQL. Alot of people seem to not understand that, and they make their gamemodes using MySQL without anything to use MySQL with. I plan to make or have someone help me make a UCP for S82-CnR after i release v1.0 and get all the bugs fixed.
Posts: 359
Threads: 63
Joined: Jul 2010
Reputation:
0
Thanks, And I completely understand, thus the lack of interest in MYSQL.
Y_Ini it is then. I better get converting.
rep++
Posts: 359
Threads: 63
Joined: Jul 2010
Reputation:
0
Thanks, Sometimes I think ****** is too smart for his own good, his standard of our definitions is a little high, and his tutorials have never helped me all that much, but Kush's is great, I've already learnt something.
suhrab_mujeeb
Unregistered
Just a question here, why do people hate dini? It isn't that bad and does the work alright. And how much slower can it be, maybe at most 1 second late than Y_Ini.
Posts: 6,129
Threads: 36
Joined: Jan 2009
Quote:
Originally Posted by suhrab_mujeeb
Just a question here, why do people hate dini? It isn't that bad and does the work alright. And how much slower can it be, maybe at most 1 second late than Y_Ini.
|
Dini is inefficient because for every single file operation, it opens the file, writes/reads and then closes it. Newer INI systems tend to append the information to memory, perform the relevant actions,
then closes the file, after opening it first of course.
You'll notice the speed differences when you're dealing with player files and hundreds of player variables in comparison to Y_INI.
suhrab_mujeeb
Unregistered
Quote:
Originally Posted by Calgon
Dini is inefficient because for every single file operation, it opens the file, writes/reads and then closes it. Newer INI systems tend to append the information to memory, perform the relevant actions, then closes the file, after opening it first of course.
You'll notice the speed differences when you're dealing with player files and hundreds of player variables in comparison to Y_INI.
|
Thanks for the explanation.