Actually, I'm still working on a puzzle-related website (actually a micro site), and I'm a The tool that lets you input a word pattern (such as "R? Nn") and get all matching words (in this case: rain, rain, waste etc.). Should I store words in local text files (such as word 5.txt, in which there will be a return-delimited list of 5-letter words), or in the database (such as Table Word 5, which again store 5-letter words Does it?)
I am seeing the problem of data retrieval and CPU server load issue. I can definitely try it in both ways and record time taken for many runs in both ways, but I want to hear from those people who may experience this experience with them.
Which method is generally better?
For quick retrieval, you definitely want some kind of index if you write the index code yourself If you do not want it, then it's definitely easy to use the database.
If you have Java for your app or If you are using Net, consider these. It just keeps any object with a line of code and there is no setup cost to create tables.
Comments
Post a Comment