About time I change out my file system. (Suggestions please)
#1

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.
Reply
#2

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.
Reply
#3

Thanks, And I completely understand, thus the lack of interest in MYSQL.

Y_Ini it is then. I better get converting.

rep++
Reply
#4

If you do need some help with Y_INI. Kush has a wonderful tutorial in the tutorials section. If you want i can link you to it. You know what nevermind, here is the link.

Click me!

Edit:

By the way i used to use Dini up until about 2 months ago. I completely understand, how you feel about it.
Reply
#5

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.
Reply
#6

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.
Reply
#7

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.
Reply
#8

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)