Theodore H.Smith wrote:
Interesting sidenote: just for laughs I also tested ElfDataFields from
Theo's ElfData plugin. It is on average 100 times faster than
countfields. that's 10,000% faster folks.
Faster than countfields? I'd actually doubt it myself, to be honest.
I'll probably test this at somepoint, however. Just to make sure. It
may be that this result you got only applies in certain cases.
Come, come, since when have you become so modest ;-)))
I suppose you did this:
while fi.MoveNext
Count = Count + 1
wend
Yes, that's what I did, using a string that contains 100 fields with " "
as separator in a for next loop that runs 1000 times. So, a 'real life'
test ;-).
By the way, your "FastCountFields" could be implemented using my
plugin... no problem there. You could even make it use a string param
if you like. I think one operator_convert won't hurt when its not in
the hot loop.
Not in RBScript it can't. Can it?
Ronald Vogelaar
http://www.rovosoft.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|