Funny thing is, even when I have specified scope for all my variables,
I've still seen ColdFusion stack traces hunting around for scopes. 
However, please note this was a very intense script trying to calculate
all prime numbers between 0 and 10,000,000.  For the other 99.9999% of
ColdFusion code out there, do what creates the most manageable,
self-documenting code.  The performance results will most likely be
negligible.

~Brad

-------- Original Message --------
Subject: Re: scoping and speed
From: Charlie Griefer <charlie.grie...@gmail.com>
Date: Thu, December 10, 2009 9:59 am
To: cf-talk <cf-talk@houseoffusion.com>



"Because ColdFusion must search for variables when you do not specify
the
scope, you can improve performance by specifying the scope for all
variables."



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329054
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to