For this very particular FClientList, you are right. But for example we use the same function for RAMCacheFile and DISKCacheFile witht the URI in String and the object in the Object. So we needed this function anyway and just tested to use it for this purpose as well...
Regards, SZ On Tue, Dec 7, 2010 at 3:24 PM, Anton S. <an...@rambler.ru> wrote: > Fastream Technologies wrote: > >clientString := IntToStr(ULong(Client)) > Won't it be much faster to use TList with custom Compare method which would > compare Client pointers as integers? String comparison is a waste. > > -- > Anton > -- > 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 > -- 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