TStringList, Dynamic Array or Linked List in Delphi?
- by lkessler
I have a choice.
I have an array of ordered strings that I need to store and access. It looks like I can choose between using:
A TStringList
A Dynamic Array of strings, and
A Linked List of strings
In what circumstances is each of these better than the others?
Which is best for small lists (under 10 items)?
Which is best for large lists (over 1000 items)?
Which is best for huge lists (over 1,000,000 items)?
Which is best tor minimize memory use?
Which is best to minimize loading and/or access time?
For reference, I am using Delphi 2009.