I use a txt file as database and I need to expedite the search procedure, since it is sequential. I wanted to use a binary search for it, but do not know how. Can anyone tell me where I find the algorithm to do this or else how do I move the cursor to a specific line in the file?
I'm trying to use SQLite, but I need to load the database of the PocketPC with the data from another database. When I try to import the data, SQLite takes too long or stops working, making it impractical to use it.
Any other idea or another database can be used?