I was always led to believe that putting cfoutput tags around a whole block
of code was slower that only putting the tags around the code that you
wanted output. If I remember correctly it is because the entire code block
between cfoutput tags has to be parsed and that could mean wasting time on a
lot of layout code. Not sure if there is a major difference in performance,
suppose it depends on the amount of code in the block?

-----Original Message-----
From: Ray Champagne [mailto:[EMAIL PROTECTED] 
Sent: 08 September 2005 18:09
To: CF-Talk
Subject: multiple cfoutputs vs one as a wrapper

Hey all:

I'm tasked with the job of reworking someone else's FB CF code, and one 
thing that is driving me crazy is that the person who originally wrote 
the code dropped in soooo many cfoutput's that it's really not readable. 
  Is there a performance benefit for doing this vs just cfoutputting a 
whole block of code?

Ray




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217643
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to