Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Database-like App with huge .txt file - any tips?

0 replies · 1,753 views · Started 09 November 2004

I want to develop an application (UIQ, but doesn't matter I think) that uses a simple text file xxx.txt with about 25.000 lines or 100000 paragraphs as database.
I'm concerned about speed and efficiency, because it is meant to be sort of a database and I need to retrieve entries randomly by providing a searching string.

May anyone give some hints on what approach I should focus? (APIs, overall structure). Of course I could simply try some ways of doing it, but maybe someone came across the same problem and may support me with some tips!
Thank you very much,
SubAnimage