Re: [twsocket] IndexOf is slow when there are thousandsofclientsconnected

2010-12-08 Thread Fastream Technologies
We already have to check the presence of the string/object in cache so avoiding AddObject() also eliminates the Find(). Regards, SZ On Wed, Dec 8, 2010 at 10:46 AM, Arno Garrels wrote: > Fastream Technologies wrote: > > Hello Arno, > > > > On Tue, Dec 7, 2010 at 7:48 PM, Arno Garrels > > wrot

Re: [twsocket] IndexOf is slow when there are thousandsofclientsconnected

2010-12-08 Thread Arno Garrels
Fastream Technologies wrote: > Hello Arno, > > On Tue, Dec 7, 2010 at 7:48 PM, Arno Garrels > wrote: > >> Fastream Technologies wrote: >>> Hello, >>> >>> I have fixed the function as below (providing for the sake of >>> completeness): >> >> You are re-inventing the wheel. Simply set property