[thelist] Looking for a simple CF-based catalog/shopping cart

Chris Evans chris at fuseware.com
Tue Dec 11 09:41:52 CST 2001


One minor correction:  arrays are faster on multiple accesses to the data,
but on a single loop through a list, converting it to an array is an extra
step that does not improve performance.

Chris Evans
chris at fuseware.com
http://www.fuseware.com



-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of Nick Bourgeois
Sent: Tuesday, December 11, 2001 8:32 AM
To: thelist at lists.evolt.org
Subject: Re: [thelist] Looking for a simple CF-based catalog/shopping
cart


> <tip type="ColdFusion" author=".jeff">
>
> using lists in coldfusion?  want some performance gains?  convert those
> lists to arrays before working with them.  arrays and array functions are
> *much* faster than list functions.
>
> </tip>

This kind of information is gold.  I'm always looking for little tidbits to
make my code faster, like cfscript vs. non-cfscript, arrays vs. lists,
custom tags vs. cfincludes, etc.  What other stuff have you noticed gives
significant performance gains (aka NOT 1 or 2 milliseconds faster)?  Better
yet, is there a site somewhere that catalogs this info?

Nick Bourgeois
nick at infinitevoid.com


--
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt !






More information about the thelist mailing list