13.02.2015, 07:44
Dini should be avoided, it's slow as hell.
Whenever dini reads from a file, it opens the file, loops through the entire file to find the value you need and closes it again.
When you need to read 100 values, dini opens this file 100 times, reads the entire contents 100 times (until the proper value is found) and closes it 100 times.
It overuses your harddrive as well and it may deteriorate faster than normal, because it's reading the same file 100 times instead of 1 time.
Just use MySQL.
Much faster, more reliable as it has built-in error-checking and several protection systems to prevent corrupted data and more flexible.
If you were given the choice to drive a Bentley (MySQL) or a bycicle (dini), which one would you choose?
Whenever dini reads from a file, it opens the file, loops through the entire file to find the value you need and closes it again.
When you need to read 100 values, dini opens this file 100 times, reads the entire contents 100 times (until the proper value is found) and closes it 100 times.
It overuses your harddrive as well and it may deteriorate faster than normal, because it's reading the same file 100 times instead of 1 time.
Just use MySQL.
Much faster, more reliable as it has built-in error-checking and several protection systems to prevent corrupted data and more flexible.
If you were given the choice to drive a Bentley (MySQL) or a bycicle (dini), which one would you choose?