Hey guys,
I am making a small project for myself that deals with gps and some other cool stuff on WM6 in C#. I am just wondering, is it better to read from a file when you need to access the data or is it better to just read the whole file into the program and deal with it then? Mainly, I am talking about locations that I will save within some type of file/database, not quite sure which one yet. These locations will need to be looped over frequently and that's why I think I should read the whole file in and then write back to it later, but how much data becomes too much? Are there any efficiency issues that could arise from reading in lots of data from a file opposed to the obvious efficiency issues from reading the next value from a file as needed? It doesn't really make too much difference at this stage since I will probably never get lots and lots of data, but it is good to think about scalability at some stage I suppose.
Cheers