Fastream Technologies wrote: > As far as I know, the TStringList->AddObject() method uses binary > search for finding the correct index to insert when > TStringList->Sorted = true. I don't know why I thought so but there > is the method,
Yes, it actually uses function QuickSort but that is still much slower than a simple Add() of an unsorted list. So in order to compare speed one has to messure both Add() and IndexOf(). In most cases IndexOf() is not used frequently if not just once when the client disconnects from the server. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be