Clearly you aren't using an Actual database, otherwise you could just run a query on it. Sounds like when you say "database" you really mean "text file with data inside".
It doesn't come down to faster processing speed. It never comes down to faster processing speed.
Do you have something against me BC? yes it is a text file with data inside but a database doesnt need to be in SQL format:
http://searchsqlserver.techtarget.com/definition/databaseDefinitiondatabase
database is a collection of information that is organized so that it can easily be accessed, managed, and updated. In one view, databases can be classified according to types of content: bibliographic, full-text, numeric, and images.
if it never came down to processing speed then why do universities invest in such machines? im not saying my program matches the complexity of a program that can graph movements of atoms but it does require processing power.
imagine processing the following:
if x = 4
x! (x * x-1 * x-2 .... *x-(x-1)
= 4*3*2*1 = 24
if x=11
x=39,916,800
now try and make each of these 39,916,800 elements different to all the rest, and check them against a DB file, yes a DB file.
tell me, even if your computer was processing 100 calcs per second against 270,000 elements using a binary search it would still take
399,168 seconds
6652.8mins
110.88 hours
4.62 days
who has that much time to wait for one instance of a program, and this is only with x as 11. my intention of x is about 200
consider that
x = 25 = 15,511,210,043,330,985,984,000,000
currently im doing about 2 calcs per second which means for a size of 11 i would take 50* 4.62 days = 231 days