> It depends on where the value being searched for exists in the data.
> If a value is at pos 1999 of a 2000 length dataset, then a listfind of
a
> list will prob be much quicker than a 1999 step iteration of the
equivalent
> array.
> But if the value is at the beginning of the data, then the array
stepping is
> faster.
> 
> Given that you're searching, you'll probably never know where the
value is,
> so its prob safer to go for listfind() for more consistent results.

Rich, just going back to this, did you say at some point that you found
the length of time taken to find a match using listFind() increases in a
non-linear way as the number of elements in the list increases?


-- 
Aidan Whitehall <mailto:[EMAIL PROTECTED]>
Macromedia ColdFusion Developer
Fairbanks Environmental Ltd  +44 (0)1695 51775
Queen's Awards Winner 2003 <http://www.fairbanks.co.uk/go/awards>

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to