I can use TFPGMap<TKey, TData> but in Pascal objects are not values but pointers.
I have TLabel, instances of can be differ lab1<>lab2 but embed the same fields, lab1.Equaks(lab2). In my example, only TKey is important, TData is idex 0,1,2...
Slow way is simply create List of TLabel, but I can fast found it, this list will unsorted due to often addings, but if is possible hash list mapping not pointer but fields? some hash may be computed by calling my method on TLabel