cfscript function vs cffunction
Just passing on something I ran across recently: I have a page that has 2 nested CFLOOP's, and a UDF function call inside the inner loop. The page was consistently taking about 75 seconds to run. Just out of curiousity, I changed the UDF from a CFSCRIPT function to a CFFUNCTION, and the load time went from 75 seconds to less than 5. At first I thought I broke it, and it was not really running, but it was I double-checked, and it was running properly and returning the same results. Probably not significant if a function is called 1 or 2 times on a page, but if it's 100's or 1000's, it could be a big improvement. This is CF8.