It will probably depend on if you're using CF or standard HTML comments
(three dashes vs. two at beginning and end of comment) and if there are
<cfoutput></cfoutput> blocks around the commented code also.  If you
practice putting <cfoutput> at the top of the document and </cfoutput> at
the bottom, CF will have to look at every character.  Placing each CFOUTPUT
optimally and using CF comments (<!---CF comment--->) will help.

-------------------------
Bob Hendren
BrainKeepers
E-Commerce - Internetworking - Information Systems
404-375-2258
[EMAIL PROTECTED]

-----Original Message-----
From: Mike Amburn [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 19, 2000 4:15 PM
To: Cf-Talk
Subject: commenting a processing hog???


in the past, we encouraged developers to comment their code as often as
possible. however, after running a few tests between a page with a lot
(20-30 lines of comments) of comments aginst the same page without the
comments, the performance of the latter is about a 100% gain.

i was under the impression that you could add as many lines of comment as
you wanted without affecting performance at all. is this incorrect?

,ole

----------------------------------------------------------------------------
--
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.

------------------------------------------------------------------------------
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