There was a bug in the TStringList.IndexOf performance optimization that didn’t take into account that
DB.TFlatList overrides GetCount and implements lacy loading. The optimization directly accessed TStringList.FCount which was zero because GetCount wasn’t called. This bug appeared when you tried to ...
More...