Depends what you're doing. If your data is in a list already, then converting it to an array working with it and then converting it back again is going to be slower than just working with the list, particularly if all you really want to do is get the first, last, an item from a known position or the number of items in your list.
If you're going to be passing your data around in say a client variable and the processing you need to do on the information is not particularly intensive (say just looping through and outputing or using in an SQL insert), then you've got the whole converting to and from arrays to add to your processing. "Keep it Simple" is the rule. Don't add layers of processing when you don't need to or if it only complicates matters in other places. Stephen ----- Original Message ----- From: "Adrian Lynch" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, October 28, 2002 12:56 PM Subject: RE: Arrays vs. Lists > Arrays :O) > > -----Original Message----- > From: Gyrus [mailto:gyrus@;rooted.freeuk.com] > Sent: 28 October 2002 12:56 > To: CF-Talk > Subject: Re: Arrays vs. Lists > > > > The question should be, is CF better at processing strings or arrays as > > lists are only strings. > > Kind of begging the question, no? ;-) I'm well aware that lists are > strings - the question stands: Are lists or arrays faster? > > Gyrus > [EMAIL PROTECTED] > work: http://www.tengai.co.uk > play: http://www.norlonto.net > PGP key available > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm

