I just optimized some templates which were written in
cf tag syntax by rewriting as cfscript. In my
experience, cfscript can be up to 2-3x as fast. But in
my opinion, the performance isn't worth rewriting
unless you're inside a loop. In my case, I rewrote all
the cfset statements inside a cfquery loop of 1000+
and achieved a whopping speed increase, but I didn't
bother with the tag statements outside.

In general, you'll get the most improvement for your
effort if you rewrite statements within loops.

--- Clint Tredway <[EMAIL PROTECTED]> wrote:
> I have a question...
> 
> Lets say that I have about 10 variables being set
> locally on 20 or so cfm
> pages..
> 
> How much faster is using cfscript over using cfset
> to set the values of
> these local variables?
> 
> Clint Tredway


=====
I-Lin Kuo
Macromedia CF5 Advanced Developer
Sun Certified Java 2 Programmer

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to