I found that in many situations it's more efficient to first Split() a
string instead of using nthField().
And a good way to absolutely kill your app's performance is code like
this:
for i = 1 to CountFields(s, delimiter)
....
next
.... because that will re-scan the whole string with every iteration.
Better cache it before the loop.
Cheers,
Frank+++
Am 26.02.2009 um 22:05 schrieb Stan Busk:
Hi,
I respond to myself. Listbox has nothing to do. It is nthField
function actually that is slower as before. I will fill a bug report
on this.
Stan
Hi,
It looks like RB2008r5 listboxes are around 5 times slower than
before and speed dramatically slowdown as you add more entries. It
was already the case before but now it is worse.
Stan
Hi,
It is just me or RB2008r5 listboxes are slower than before. I just
found out today they are much much slower than I was used to.
Before calculating timings I would like to know if somebody else
have the same feeling as me...
--
Günter Schmidt GmbH
Frank Bitterlich eMail: bitterlich@gsco.de
Ben-Gurion-Ring 21 WWW: http://www.gsco.de/
D-60437 Frankfurt Tel.: 069 / 156809-29
GERMANY Fax: 069 / 156809-28
Geschäftsführer: Jürgen Hartwich
AG Frankfurt am Main, HRB 76504 - USt.-ID: DE235219624
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|