At 03:00 AM 8/5/2001 +1000, you wrote:
>There are many areas where cfscript is not optimised, but having said
>that I can't vouch for CF5.0.
Just did a quick test under CF 5. Iterated a switch statement 10,000 times
and iterated a similar CFSwitch statement the same number of times. (Loop
was done using CFLoop in order to eliminate loop structures as a timing issue)
switch (cfscript) 1753
cfsswitch 811
So its still not optimised.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists