--
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to model...@googlegroups.com
To unsubscribe from this group, send email to
model-glue+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en
So I added a <cfset variables._debuggingEnabled = false> to the
component definition, and these statements to the Init() just before
the addTraceStatement() at the end of the function,
<cfif arguments.modelglue.getConfigSetting('debug') NEQ "none">
<cfset variables._debuggingEnabled = true>
</cfif>
and added this <cfif variables._debuggingEnabled> around the code in
addTraceStatement()
At least a 90% improvement in speed!
<cfif variables._modelGlue.configuration.debug EQ "none"><cfreturn /></cfif>
Please let us know how the performance of this code compares to the other two approaches.