> Ok, i have another one. (In CF7)
>
> Here's an example of code I'm running into:
>
> <cfset errors["#varName#"]["string"] = errors["#varName#"]["string"] & "bit
> to add here."/>
>
> I would normally write this as:
>
> <cfset errors[varName]["string"] = errors[varName]["string"] & "bit to add
> here."/>
>
> Other than the fact it's nicer to look at and just makes sense to do it my
> way, is there actually any speed increase doing it my way?

There will not be a significant speed increase, so don't worry about
changing existing code unless you have time on your hands and it
really offends you.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

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

Reply via email to