Well, using CFSCRIPT, the first was always unbelieveably slow.

> -----Original Message-----
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 05, 2002 11:39 PM
> To: CF-Talk
> Subject: Re: CFSET in CFMX
>
>
> The first or the second? I and others had seen the second taking
> more time. In
> the first CF is putting a string together from pieces. In the second CF is
> parsing the string once to find CF elements and then evaluating them. An
> additional bit of work.
>
> > > Both are about the same speed.
> > > <CFSET time="The time is now "&timeformat(now())&" on
> > > "&dateformat(now())&".
> > > Your index is "&i>
> > > <CFSET time="The time is now #timeformat(now())# on
> > > #dateformat(now())#. Your
> > > index is #i#">
> >
> > Yay!  The first syntax was incredibly slow in previous versions
> of CF.  So
> > slow, in fact, that it was just about the only line code
> optimization I ever
> > did, because it could be hundreds of times slower.
> >
> >
> >
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm


Reply via email to