It's not opinion that binary files are grossly better for performance, It's hard fact. Are you trying to teach us something new? Because this is the basic of the basic.
Whether binary files are "better" is debatable though. Performance isn't everything. With binary files, you are required to write format specific code, and provide editors for modifying any data. That problem isn't as apparent with text files.
Databases are format-independent binary files which offer the both of best. There isn't much to debate here: Databases are the superior choice.
People would never be loading this amount of data at once, unless your being stupid and loading ALL this data to an array, when it should be inline.
Compare the speed of reading through the entire contents of a file held in memory and one held on your hard drive before you make such ridiculous remarks. If you're going to access any piece of data quickly, or multiple times, it should be placed into memory when the application starts. Provided you have enough memory that your application isn't thrashing, load as much as you can into it. (Memory is cheap, you shouldn't be worrying if your server uses up a gig or few of it.) If you have several gigs of data and holding it in memory is out of the question, you should be using an SSD.
It's not opinion that binary files are grossly better for performance, It's hard fact. Are you trying to teach us something new? Because this is the basic of the basic. I am merely informing people who use INI databases, how the speed compares to Binaries
(Memory is cheap Memory is not neccesarily cheap, for the current conquer communities average age of 15, your looking at $20 per 1g stick of memory.
Edit (2012): I shall maintain the record of this post and thread as a reminder of how much of an idiot I have been, but I would just like to clarify that upon looking at some of my post history I have realized just how foolish I was back then, hah.
[C++]Binary files 03/06/2010 - C/C++ - 14 Replies Okay, I'm completely stuck loading a struct from a binary file, saving looks fine to me but on loading i get a bad_allocation exception, may someone please show me how to load/save a struct like this(yes i searched for too many hours and 0 results)
typedef struct CColumn
{
int ID;
string UniqueName;
}Column;
typedef struct CVar
{
string ColName;
string Value;
TQ New Binary Files 09/26/2009 - EO PServer Hosting - 0 Replies well i put it in the reply on the one tread but after all the bad comments i figured no one would see it so i am making a new post for it. Well i found the download of the files and i upladed them on 4shared. Here is the link for the downlad
4shared.com - online file sharing and storage - download TQ New Binary Files
This was the image everyone was talking about. I am not taking credit for someone work just figured i see if u guys could use the files.
Well i will let u all figure out the...
[Guide] How To Translate A NPC In Binary Files 06/15/2009 - CO2 PServer Guides & Releases - 12 Replies I am proud to release my guide how to translate a NPC in the binarys enjoy.
1 :- Download The Easy NPC Translator from the attchment
2 :- Extracted the Easy Npc Translator and run it.
[HELP] TQ BINARY files 01/17/2009 - CO2 Private Server - 0 Replies Hey guys, i currently got TQ binary files working, just when i open client and login it allows me to login it just closes client, anyone know a solution to stop this? ;s