Searching a List, or do I need a better DB Engine?
Posted: Tue Apr 18, 2006 4:18 am
Using Rev 2.6.1
Greetings,
I have a list of about 128,000 lines. Each line has anywhere from 2
to maybe 10 items. The longest line is maybe 100 characters total. So
each line isn't really a lot of data.
I did a simple repeat loop and compared the word being searched for with
the first word of each entry. Works of course, but it's so slow that I was
able to take a break, get something to eat, bathroom break, play with the
dog, give the wife and kids a bad time etc..... You get the point.
It
was seriously slow.
Is there a better, faster way to search a list other than what I described
above?
Or am I going to have to convert the list over to a database like SQL?
Any suggestions or ideas welcome and appreciated,
-Garrett
Greetings,
I have a list of about 128,000 lines. Each line has anywhere from 2
to maybe 10 items. The longest line is maybe 100 characters total. So
each line isn't really a lot of data.
I did a simple repeat loop and compared the word being searched for with
the first word of each entry. Works of course, but it's so slow that I was
able to take a break, get something to eat, bathroom break, play with the
dog, give the wife and kids a bad time etc..... You get the point.

was seriously slow.
Is there a better, faster way to search a list other than what I described
above?
Or am I going to have to convert the list over to a database like SQL?
Any suggestions or ideas welcome and appreciated,
-Garrett