scoping and speed

2009-12-10 Thread Chad Gray
If you don't scope your local variables does the page run slower? IE. #variables.foo# vs. #foo# ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive:

Re: scoping and speed

2009-12-10 Thread Charlie Griefer
In theory, yes, as ColdFusion will have to hunt through the various scopes to find the exact variable that you're referencing. Whether it's noticeable or not.. hard to say. From the CF8 docs ( http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Variables_32.html ): Because

AW: scoping and speed

2009-12-10 Thread Gert Franz
g...@getrailo.com +41 76 5680 231 www.getrailo.com -Ursprüngliche Nachricht- Von: Charlie Griefer [mailto:charlie.grie...@gmail.com] Gesendet: Donnerstag, 10. Dezember 2009 16:59 An: cf-talk Betreff: Re: scoping and speed In theory, yes, as ColdFusion will have to hunt through

RE: scoping and speed

2009-12-10 Thread brad
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

RE: AW: scoping and speed

2009-12-10 Thread brad
Thanks for that info about Railo, Gert. That setting is exactly what I wished I had in Adobe CF the other day. :) ~Brad Original Message Subject: AW: scoping and speed From: Gert Franz gert.fr...@railo.ch Date: Thu, December 10, 2009 10:40 am To: cf-talk cf-talk

Re: scoping and speed

2009-12-10 Thread Judah McAuley
Out of curiosity Gert, why would Railo be slower finding #variables.foo# than finding #foo# if variable cascading is on? Is it checking for the existence of a struct named variables before checking the actual scope or something? Judah On Thu, Dec 10, 2009 at 8:40 AM, Gert Franz

Re: scoping and speed

2009-12-10 Thread Eric Cobb
According to Adobe, Yes. http://www.adobe.com/devnet/coldfusion/articles/coldfusion_performance_04.html Thanks, Eric Cobb http://www.cfgears.com Chad Gray wrote: If you don't scope your local variables does the page run slower? IE. #variables.foo# vs. #foo#

AW: scoping and speed

2009-12-10 Thread Gert Franz
Professional Open Source skype: gert.franz g...@getrailo.com +41 76 5680 231 www.getrailo.com -Ursprüngliche Nachricht- Von: Judah McAuley [mailto:ju...@wiredotter.com] Gesendet: Donnerstag, 10. Dezember 2009 20:16 An: cf-talk Betreff: Re: scoping and speed Out of curiosity

Re: scoping and speed

2009-12-10 Thread Charlie Griefer
Source skype: gert.franz g...@getrailo.com +41 76 5680 231 www.getrailo.com -Ursprüngliche Nachricht- Von: Judah McAuley [mailto:ju...@wiredotter.com] Gesendet: Donnerstag, 10. Dezember 2009 20:16 An: cf-talk Betreff: Re: scoping and speed Out of curiosity Gert, why would