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
Jon Hall (334p/+0r)     Posted: Wednesday 09 May 2001
This post: 73 views, +0 rating

And now to inject a little more uncertainty... Just a couple of months ago an Allaire consultant told me that cfloop was the second slowest tag after cfmail. Always use cfoutput to output queries. I imagine he was speaking relatively though. I can think of some really slow tags.

jon ----- Original Message ----- From: "Critter" <critter@cfresume.org> To: "CF-Talk" <cf-talk@houseoffusion.com> Sent: Wednesday, May 09, 2001 1:37 PM Subject: Re: cfloop vs cfoutput

> 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   (50 v/ +0 r)
RE: cfloop vs cfoutput  10 May 2001   (71 v/ +0 r)
RE: cfloop vs cfoutput - THE WINNER IS...  10 May 2001   (48 v/ +0 r)
RE: cfloop vs cfoutput  09 May 2001   (45 v/ +0 r)
RE: cfloop vs cfoutput  09 May 2001   (58 v/ +0 r)
Re: cfloop vs cfoutput  09 May 2001   (41 v/ +0 r)
Re: cfloop vs cfoutput  09 May 2001   (52 v/ +0 r)
Re: cfloop vs cfoutput  09 May 2001   (54 v/ +0 r)
Re: cfloop vs cfoutput  09 May 2001 (this post)   (73 v/ +0 r)
Re: cfloop vs cfoutput  09 May 2001   (55 v/ +0 r)
Re: cfloop vs cfoutput  09 May 2001   (66 v/ +0 r)
Re: cfloop vs cfoutput  09 May 2001   (51 v/ +0 r)
cfloop vs cfoutput  09 May 2001   (43 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