Arno Garrels wrote:
> 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.

I uploaded my test binary here :
That should make the problem clear.

Increase the number and wait...........

Arno Garrels

To unsubscribe or change your settings for TWSocket mailing list
please goto
Visit our website at

Reply via email to