> What about :
> <cfoutput>
>     blah blah blah blah
>     #variable#
>     blah blah blah blah blah blah blah
>     #variable#
>     blah blah blah blah
>     #variable#
>     blah blah blah blah blah
> </cfoutput>
>
> VS
>
>     blah blah blah blah
> <cfoutput>
>     #variable#
> </cfoutput>
>     blah blah blah blah blah blah blah
> <cfoutput>
>     #variable#
> </cfoutput>
>     blah blah blah blah
> <cfoutput>
>     #variable#
> </cfoutput>
>     blah blah blah blah blah

In the above examples, there are two opposing costs. There's a cost to
processing each character within a CFOUTPUT, as is being done in example 1,
and there's a cost to each individual CFOUTPUT tag, as in example 2. There
isn't any algorithm for determining which of the above would be more
efficient; you'll have to determine that on a case-by-case basis, and
balance performance against readability as well.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to