So, performance wise ColdFusion will fluctuate between OS? Not exactly the best advert for performance etc. If one OS is faster wouldn't more people move or plan for that OS?
"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions." Visit our website at http://www.reedexpo.com -----Original Message----- From: Sean Corfield To: CF-Talk Sent: Sun Jun 03 06:44:28 2007 Subject: Re: isdefined vs structkeyexists (was: cfinvoke or CreateObject) It's platform specific. On OS X, structKeyExists() is always 20-30% faster under any circumstances. On Windows isDefined() is often faster. On 6/2/07, Brad Wood <[EMAIL PROTECTED]> wrote: > I have done test with structkeyexists and isdefined and found that it > actually can depend on whether or not the value exists. I ran two > tests, one with a small struct (1 key) and one with a large struct (500 > keys) and the size of the structs didn't make any difference. > > I looped several thousand times and sliced the results 4 different ways > in each test: > isdefined() when the key was NOT present (1254 ms) > structkeyexists() when the key was NOT present (1172 ms) > isdefined() when the key WAS present (1087 ms) > structkeyexists() when the key WAS present (1259 ms) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279928 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

