That makes sense. Although, I'm definitely inclined to think this
person had no idea of performance issues, since there are lines that
look like this:
<cfoutput>
</td>
</tr>
</cfoutput>
which is obviously just ridiculous, but they are EVERYWHERE. LOL. I
know I could get rid of those, just wondering if it would be easier to
just eliminate them all and surround the whole block (most are less than
100 lines) with one without sacrificing too much.
Andy McShane wrote:
> 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
>
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217646
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54