RAD Studio VCL Reference
THashedStringList Class

THashedStringList maintains a list of strings using an internal hash table.

THashedStringList = class(TStringList);
class THashedStringList : public TStringList;

THashedStringList is a string list that uses a hash table internally to speed the process of locating strings. It is used internally by TMemIniFile to manage the strings from an INI file, but can be used in the same way as any other string list. By using THashedStringList instead of TStringList, you can improve performance when the list contains a large number of strings. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!