I need a fast method to locate data associated with components I create at runtime. I want everything as efficient as possible with a minimum of programming and am considering using a TVirtualTable.
As an example I have the following:
VT.IndexFieldNames := 'TableName';
VT.Locate('TableName',TargetTableName,[]);
What search method is used to locate the record?
How will performance be effected when I have a very large number of items in the table?
Also, I want to know how efficient the TVirtualTable is from a memory utilization standpoint. In some cases I just have a string(40) index and an integer. In others I have a string(40) index, an integer, and additional data that must be tracked.
How is memory allocated for new records?
Thanks