This looks a doc bug to me. The code below shouldn't be any faster than listAppend. If you really want it fast, I'd convert your list to an array, but again, I don't think it most cases it will really be worth it. (But thats just my personal opinion. ;)
======================================================================= Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Email : [EMAIL PROTECTED] WWW : www.camdenfamily.com/morpheus Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Dave Carabetta [mailto:[EMAIL PROTECTED]] > Sent: Thursday, December 12, 2002 8:58 AM > To: CF-Talk > Subject: RE: ListAppend() > > > >Arrays are faster than lists - but I wouldn't warn against using > >ListAppend - and I am not aware of any official MACR recommendation > >against it. > > > > Grrrr...Sorry about my last post. I was using MyWay.com's > e-mail, and it, > well, sucks. > > What I was trying to say was that, according to the MX docs > for ListAppend() > under the "Usage" section: > > "To add an element to the beginning or end of a list, > Macromedia recommends > that you do so with code such as the following, rather than with the > listAppend or listPrepend functions: > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com