I would have to say because in CF module, you're telling the CFServer 
exactly where it is.  Otherwise, CFServer has to hunt locally and then 
hunt globally for the tag you just called.

I could be wrong.

~Todd


On Thu, 30 May 2002, Rob Baxter wrote:

> Why is cfmodule faster? I assume it might be a bit faster on the first call
> to a tag since the cf_ method requires that CF search the tree of installed
> tags to find the correct template to run, whereas with cf module you can
> specify the exact location. However, I've noticed that CF seems to cache the
> location of recently used custom tags, probably to address this very issue.
> So presumably, subsequent calls using cf_ or cfmodule would perform the
> same. Of course I have no idea on how long this cache persists or what it's
> maximum size might be, so in general it's probably safe to say cfmodule is
> slightly faster.
> 
> Are there any internal implemenation details which make cfmodule faster than
> the cf_ syntax, or was this what you were refering to? Just curious...
> 
> </rob>
> 
> -----Original Message-----
> From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 30, 2002 12:54 PM
> To: CF-Talk
> Subject: RE: Quick question on custom tags
> 
> 
> Nah, it works happily - in fact, <CFMODULE is faster than <CF_ so it
> should work better for you
> 
> Philip Arnold
> Technical Director
> Certified ColdFusion Developer
> ASP Multimedia Limited
> Switchboard: +44 (0)20 8680 8099
> Fax: +44 (0)20 8686 7911
> 
> www.aspmedia.co.uk
> www.aspevents.net
> 
> An ISO9001 registered company.
> 
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> **********************************************************************
> 
> 
> 
> 
______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to