On Thu, Oct 14, 2010 at 7:50 PM, Michael Grant <mgr...@modus.bz> wrote:
> Out of curiosity is there some reason to do this:
> v = form[f];
>       if ( structKeyExists( found, v ) ) {

In the case where v is not in found, the else does found[v] = true,
thus form[f] is only evaluated once. With only two references to
form[f], it might make no difference... I didn't actually time it :)
-- 
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atw

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338226
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to