Building SlideSix Part 2.5 - Increase Your Applications Performance
Well it would be part 3, but part 3 is already written and scheduled for later so I'm going with 2.5. Really just a super quick tip for some very impressive performance gains. I don't have concrete evidence other then my 'Wow, that's really a big difference' reaction from taking this one simple step. What is that step? Simply log into your ColdFusion Administrator, go to Settings and check 'Disable CFC Type Checking' (see disclaimer below).
When this setting is applied ColdFusion basically assumes a type of 'any' on your arguments (and, I believe, your returnTypes) in your CFC methods.
Disclaimer: There are many blog posts and articles that discuss this tactic (which is known as 'duck typing'). Some say that it is not about performance gains, but there is no question to me that my applications simply run more swift when ColdFusion does not have to validate the type. Before you do this, read up on what some people who are much smarter then me have to say about the topic.



There are no comments for this entry.
[Add Comment]