Changeset 779
- Timestamp:
- 05/12/2008 10:23:26 PM (22 months ago)
- Location:
- framework/1-6-0/trunk
- Files:
-
- 2 modified
-
CHANGELOG (modified) (2 diffs)
-
properties/ColdspringProperty.cfc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
framework/1-6-0/trunk/CHANGELOG
r775 r779 140 140 (2008-03-15 pfarrell) 141 141 142 * ColdspringProperty Improved Performance 143 Improved performance of the ColdspringProperty: 144 - Used java.lang.StringBuffer for string concatenation 145 - Used hash instead of UUID for name of CFC in dynamic method generation (15-18% faster than UUID) 146 142 147 * Deprecated mach-ii.cfm 143 148 All supported CF engines now support Application.cfc. The mach-ii.cfm bootstrapper for … … 156 161 This improves performance a drastically fewer number of BeanUtils are created during 157 162 the loading of the framework. 163 (2008-05-09 pfarrell) -
framework/1-6-0/trunk/properties/ColdspringProperty.cfc
r778 r779 631 631 <cfset var beanName = "" /> 632 632 <cfset var cfcData = CreateObject("java", "java.lang.StringBuffer") /> 633 <cfset var cfcName = Replace(CreateUUID(), "-", "", "all")/>633 <cfset var cfcName = "" /> 634 634 <cfset var cfcDirectory = GetDirectoryFromPath(GetCurrentTemplatePath()) /> 635 635 <cfset var autowireCfc = "" /> … … 654 654 <cfset cfcData.append('</cfcomponent>') /> 655 655 656 <!--- Create a name for the CFC (Hash() is faster than UUID) ---> 657 <cfset cfcName = Hash(cfcData.toString()) /> 658 656 659 <!--- Write the cfc data to a temp file ---> 657 660 <cffile action="write" output="#cfcData.toString()#" file="#cfcDirectory##cfcName#.cfc" />
