Please see this: http://blogs.sanmathi.org/ashwin/2006/07/24/whento-evaluate-and-iif/
Ashwin mentions that there are times when evaluate will NOT be slow, but goes on to say how it can perform badly. I think he is very clear here: "In summary - use evaluate() and iif() in situations where the expression to be evaluated remains static over time. Using them for dynamic expressions will prove inefficient, and may well negate any benefits that static expressions enjoy." To me, and I'm not putting words in his mouth, this settles the case to not use evaluate. On 8/30/06, Loathe <[EMAIL PROTECTED]> wrote: > How about because it's ugly and makes expressions more complex than they > need to be? > > That's why I don't use it. > > > -----Original Message----- > > From: Claude Schneegans [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, August 30, 2006 3:03 PM > > To: CF-Talk > > Subject: Re: Must I Use Evaluate() Here? > > > > > > >>persistent myth that Evaluate is slower than the structure methods for > > evaluating dynamic variables > > > > Exact, it is a myth. > > Don't we forget that CF is not a compiled language, but an interpreter. > > (I know, CFMX is so called "compiled" into Java, but Java is itself an > > interpreter) > > So evaluate and structures are just two diferent but about equivalent > > methods > > to evaluate an expression. > > > > -- > > _______________________________________ > > REUSE CODE! Use custom tags; > > See http://www.contentbox.com/claude/customtags/tagstore.cfm > > (Please send any spam to this address: [EMAIL PROTECTED]) > > Thanks. > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251540 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

