It depends on the case. Usually something like:
<cfscript>
x = y;
y = z;
z = a;
</cfscript>
will run faster than:
<cfset x = y>
<cfset y = z>
<cfset z = a>
Where there is 3 or more statements, cfscript usually performs better.
I think I read somewhere that putting a cfscript inside a loop is slower
than using cfsets inside a loop, but I have no evidence to back that up.
______________________________________________
Pete Freitag ([EMAIL PROTECTED])
CFDEV.COM / NETDesign Inc.
ColdFusion Developer Resources
http://www.cfdev.com/
-----Original Message-----
From: Norman Elton [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 07, 2000 12:26 AM
To: [EMAIL PROTECTED]
Subject: CFScript VS Tags
I have heard that CFScript runs somewhat faster than the equivalent CF-tags.
Is there any truth to this statement? I was under the impression that
CFScript was designed solely for the developer's eye :)
Norman Elton
Information Technology
College of William & Mary
----------------------------------------------------------------------------
--
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.
------------------------------------------------------------------------------
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.