I have a text file that can contain a random number of entry lines. I'll use names to make it easy.
This file can grow to contain hundreds of lines. I don't see a thousand being reason.
My program checks an input against the list of lines. if value = listname do something else do something else.
I don't want to read that file in everytime so I was thinking place the list in an array. Then I read about linked lists.
What's the best method to use? The program would probably store the list/array globally as the look up can run every minute to every few seconds.