Hi all,

To me, it's axiomatic that clarity and maintainability (and thus reliabaility)
must be higher priorities than debatable performance tweaks.

Show me a performance increase from from order(N-squared) to order(N-root-N)
and I'm all ears.  But when you want to use multiple <CFOUTPUTS> or replace
CFIFs with IIFs, then I'll  probably pass, thanks.

Of course, there are times when you need to optimize all-the-way, like when
your CustomTag gets called hundreds of times to build a single page.  The
CF4.5 debugging output gives very useful profile information about your tags
and the amount of time they are consuming.  Fantastic.

Really, RAM and MHz are a lot cheaper than developer's hours.  And let's not
forget this is WEB development.  Gaining milliseconds on a page will never be
noticed.  Optimize where appropriate.

Oh, btw, back to the original post, whitespace-stripping tags do ADD a small
but significant execution-time overhead that probably outweighs any advantage
in download time.  Sorry.

Bye now,
Lee Borkman
Bjork.Net - ColdFusion Tags by Bjork

-----Original Message-----
From: Les Mizzell [mailto:[EMAIL PROTECTED]]
I'm interested in the performance aspects of <CFOUTPUT> as well....

What's better - a large block with 35 individual <CFOUTPUT> tags around 35
single elements, or the same block with just one <CFOUTPUT> at the head and
the close.....

For pages with a small number of <CFOUTPUT> tags, I've tended to use
individual tags around various elements.  However, if there's a ton of tags
needed, I've tended to wrap the entire section in one <CFOUTPUT> tag
instead.


____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/fusebox or send a message 
to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to