|
<< Click to Display Table of Contents >> Navigation: Types > PNameValueItem |
SIGNATURE=IW.Common.StrLists.PNameValueItem
ETYPE=Type
Declaration:
Delphi: |
PNameValueItem = ^TNameValueItem; |
C++: |
^TNameValueItem PNameValueItem; |
Unit: IW.Common.StrLists.pas
Description: TIWNameValueList Case-insensitive Name=Value string list. Can be sorted and allows fast Name search For a small number of elements (< 100) it is usually faster than a TDictionary. Uses less memory than TStringList when number of elements is small (most cases in IW). When the number of elements increases, it uses more memory (because of the overhead - 12 or 16 bytes - of one additional string per array element), but it performs even better. Performance comparison (count < 10): sList.Values['SomeName'] := 'SomeValue' -> 5-10x faster than std TStringList s := sList.Values['SomeName'] -> 10x faster than std TStringList