Well according to a quick (iterative) test on CF 8.0.1 evaluate seems to be 
about 5 times slower than the array notation.
Of course, we're still talking about the difference between 1 ms and 5 ms's.

I think that is very good information to know and use, but frankly I would 
agree that readability should take precedence until you run into a page 
doing enough processing to actually matter.
I think the whole witch-hunt mentality is a little obtuse.   :)

~Brad

----- Original Message ----- 
From: "Raymond Camden" <[EMAIL PROTECTED]>
To: "CF-Talk" <cf-talk@houseoffusion.com>
Sent: Wednesday, September 10, 2008 8:33 AM
Subject: Re: using dynamic variable in cfset statement


> As someone who used to always pounce on folks for using evaluate, I
> believe I remember reading recently a blog entry from an Adobian that
> points out that evaluate is not nearly as slow as it used to be.
>
> Now when I recommend against Evaluate I do so on readability terms
> rather than performance. For almost every use of evaluate I see in the
> field, the code can be rewritten in a cleaner, easier to understand
> manner.
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312356
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to