Also depends if a few milliseconds is really going to affect your application. Personally I have never seen evaluate() bring down a server or cause fire and brimstone to reign down on earth.
-----Original Message----- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: 14 September 2006 17:53 To: CF-Talk Subject: Re: Dynamically calling methods in a CFC While it may not be as bad as it once was in terms performance-wise, it's still bad for various other reasons. If you feel you need to use evaluate(), chances are good you're missing a language facet or you have a design flaw somewhere. It also often results in less readable code, because you have to manually do string parsing and evaluation, rather than relying on native language constructs. And if the handful of microseconds matter to your application's performance, using CF is a probably bad choice anyway. cheers, barneyb On 9/14/06, Tom Kitta <[EMAIL PROTECTED]> wrote: > Didn't we go over on this list the fact that evaluate() is not very > bad anymore? I wonder which method would be faster, the invoke or the > evaluate() in CF7. > > TK > > -----Original Message----- > From: Barney Boisvert [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 14, 2006 12:34 PM > To: CF-Talk > Subject: Re: Dynamically calling methods in a CFC > > > evaluate() is satan. CFINVOKE will do the job. It can call methods > statically, or on a preexisting object (per my previous email). > > cheers, > barneyb -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:253185 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

