This is where I would actually write a little test program myself & measure which one 
is faster .... loop for 100,000 with a timed loop. Has the "art" of experimentation & 
testing been lost ?!?

Ross Ferris
Stamina Software
Visage  an Evolution in Software Development


>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:owner-u2-
>[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
>Sent: Friday, 7 May 2004 11:30 PM
>To: [EMAIL PROTECTED]
>Subject: Re: [U2] Is there a better way?
>
>Since we are on this subject.... (Famous last words.)
>
>I was using a double loop to solve this problem before. (Using an until to
>stop once I find what I'm looking for.)
>
>My question is now is about speed?
>
>What is faster?
>
>A loop method or using FIND or FINDSTR?
>
>Do they both loop through an array to find a match?
>
>Is the only advantage using the FIND or FINDSTR is saving myself
>keystrokes?
>
>I'm just curious about this, it's not really a requirement.
>
>Thanks for all the info and help!!!
>
>" I used to be an Optimist until I knocked over the glass. "
>
>Randy Smith Programmer/Analyst
>[EMAIL PROTECTED]
>http://users.adelphia.net/~lee_crystal/
>http://www.sopranoboy.com
>
>Zaner Bloser
>http://www.zaner-bloser.com
>-------
>u2-users mailing list
>[EMAIL PROTECTED]
>http://www.u2ug.org/listinfo/u2-users
>
>
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.678 / Virus Database: 440 - Release Date: 6/05/2004
>

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.678 / Virus Database: 440 - Release Date: 6/05/2004
-------
u2-users mailing list
[EMAIL PROTECTED]
http://www.u2ug.org/listinfo/u2-users

Reply via email to