On 8/6/00, Michael Chiu penned:
>Which of these would be faster?  It's much easier to slap a <cfoutput> at
>the beginning of the block, but i remember reading that with a cfoutput,
>the cf server must "inspect" each <> to see if it's CF code.  On the other
>hand, it removes the need to switch between CF and HTML "mode".

Although I've read (on this list) that the larger the block of code 
inside cfoutputs, the more evaluation ColdFusion has to do, personal 
testing has shown absolutely no difference in the execution time of 
the page. Yet, I generally wrap only the necessary code anyway.

CF has to execute all CF tags no matter if they're inside a cfoutput 
or not. Now, whether it inspects everything inside of <> or simply 
looks for <CF..., I'm not sure. I would think the only additional 
evaluation CF has to do inside of cfoutput is on what's inside of 
unescaped # symbols.
-- 

Bud Schneehagen - Tropical Web Creations

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
ColdFusion Solutions / eCommerce Development
[EMAIL PROTECTED]
http://www.twcreations.com/
954.721.3452
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
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