I thought I heard Ben Forta say that there's virtually no difference between <cfscript>/<cfset> in terms of performance and thus, acceptable to program either way. So, whatever feels "comfortable."
~Todd > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Kevin J. Miller > Sent: Sunday, October 03, 2004 4:55 AM > To: [EMAIL PROTECTED] > Subject: [CFCDev] OT: cfscript vs cfml > > CFMX 6.1: I have a routine for parsing some log files that is > heinously slow (string parsing being arguably never one of > cf's strengths if memory serves). To make a long story short > I did the routine almost entirely in cfscript, it just *felt* > more cfscript-y and so I did it this way (it also only took > me an hour to write, vs a couple days in an alternate method > - see final note). > > After showing it to another developer he asked why I did it > in cfscript vs. > cfml. I answered as before, 'it just felt more like a > cfscriptish routine', followed by 'and so what, if cf is all > compiled to servlets why should it matter if something is > done cfscript vs cfml?'. His reply was that he had > read/heard that while cfml is compiled to java, cfscript is > left intact and is interpreted by 'cf tags' at runtime. Can > anyone confirm this? While its certainly known that there > are speed differences between some cfml/cfscript > implementations of the same thing, I hadn't given it much > thought after moving to MX (see www.developer.be 's > benchmarking articles for more). > > BTW, I'm redoing the routine as a sql server DTS, so while I > don't really need any suggestions on resolving my speed issue > (it's a one or two time thing at most), I *am* curious if the > statement regarding compilation of cfscript, or lack thereof, > is accurate. > > TIA > Kevin > > > ---------------------------------------------------------- > You are subscribed to cfcdev. To unsubscribe, send an email > to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' > in the message of the email. > > CFCDev is run by CFCZone (www.cfczone.org) and supported by > Mindtool, Corporation (www.mindtool.com). > > An archive of the CFCDev list is available at > www.mail-archive.com/[EMAIL PROTECTED] > ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
