Tally List : mailing list management, archiving, and analysis
click for archive home
 
Archive of:
CF-Talk
Cold Fusion - Technical
 
home
24 hour view
quick stats
weekly updates
 
all tallylists
corporate solutions
archive your favorite
help / feedback


Search the Tallylist search by keyword:

About Cold Fusion :
product's home
product's list home
 
  Archived TallyList / CF-Talk: 
Subject: Re: cfloop vs cfoutput
Critter (6p/+0r)     Posted: Wednesday 09 May 2001
This post: 56 views, +0 rating

Hello Kola,

This is from the Certified ColdFusion Developer Study Guide:

pg 37 Tip #1

<crit_quote>

The function of the query loop is the same as using <cfoutput> with a query attribute. For performance reasons, use a Query loop rather than a <CFOUTPUT query="qAny"> loop. Before ColdFusion 4.x, the <CFoutput query="qAny"> query loop performed better.

Generally speaking you should use a <cfloop> with a query attribute when doing all, or mostly, processing in the loop. If there is nothing in the loop but display, use <cfoutput>

</crit_quote>

So what's right?

-- Best regards, Critter ------------------------------------------- Wednesday, May 09, 2001, 11:50:56 S2k, you wrote:

KO> Sorry for the crosspost (had conflicting answers from other lists)

KO> but is there a consensus on which method of looping over a query is fastest?

KO> cfloop or cfoutput..

KO> Cheers

KO> KOLa

KO>


Similar Subject Line Posts (+/- two weeks of this post)
RE: cfloop vs cfoutput  10 May 2001   (55 v/ +0 r)
RE: cfloop vs cfoutput  10 May 2001   (75 v/ +0 r)
RE: cfloop vs cfoutput - THE WINNER IS...  10 May 2001   (51 v/ +0 r)
RE: cfloop vs cfoutput  09 May 2001   (48 v/ +0 r)
RE: cfloop vs cfoutput  09 May 2001   (62 v/ +0 r)
Re: cfloop vs cfoutput  09 May 2001   (43 v/ +0 r)
Re: cfloop vs cfoutput  09 May 2001 (this post)   (56 v/ +0 r)
Re: cfloop vs cfoutput  09 May 2001   (58 v/ +0 r)
Re: cfloop vs cfoutput  09 May 2001   (78 v/ +0 r)
Re: cfloop vs cfoutput  09 May 2001   (59 v/ +0 r)
Re: cfloop vs cfoutput  09 May 2001   (76 v/ +0 r)
Re: cfloop vs cfoutput  09 May 2001   (55 v/ +0 r)
cfloop vs cfoutput  09 May 2001   (45 v/ +0 r)
 

Send a reply to the CF-Talk list!
click to send a reply! NOTE: Many lists will reject your post unless you have already registered with them. Also - don't forget the right account to send from (for those with multiple emails!)

Feedback: If this post was exceptionally helpful, please help by giving this post a positive review.

 

TallyList : copyright Ububik - 2000