posted 15 years ago
I have a log file that contains records of activity, and the application parses the record into sections like date, time, filename, duration, etc.
My question is about organizing the data. Would it be better to create a List of Maps, or a Map of Lists? Is there a significant performance difference?
I am thinking a List of Maps, and have each map contain a key for each of the parsed sections of the record. e.g.