> Tags > maintain a lot of references (the caller chain, the tag nesting chain, etc) > not maintained by functions and so forth.
UDFs and CFC methods maintain all of this as well, if you have execution times enabled in the debugging output, but they don't expose it to the request in process. Kind of off the topic now, but if you've got more than a small handful of UDF/method calls in your app, make sure you've got the execution times section of the debugging output disabled, or you'll see a HUGE decrease in performance. Like with 100 calls you'll be measuring the decrease in full seconds. If that's disabled, then none of it's maintained, and things should be lickety-split. cheers, barneyb On 1/18/06, Jim Davis <[EMAIL PROTECTED]> wrote: > I agree with Barney here with one reminder: remember that you can put > functions inside custom tags. Not many people seem to remember that. > > I've found that most recursive tags could be remodeled quite easily with > internal recursive functions. A function in a tag is contained within it - > there's no exposure to the rest of the template or really any downside that > I can see. > > I've done no testing to back up the claim but I would say that recursive > functions would be much faster/less-resource-intensive that tags. Tags > maintain a lot of references (the caller chain, the tag nesting chain, etc) > not maintained by functions and so forth. > > Jim Davis > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 100 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:229949 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

