Interesting thought about compareNoCase....
To find out, I just tried a 10,000-iteration cfloop test of 'is' v/s
'comparenocase'.
<cfif comparenocase(x,"1")> took 1800ms for 10,000 iterations.
<cfif x is "1"> took 1600ms for 10,000 iterations.
:-)
-----Original Message-----
From: Emilio [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 25, 2000 12:32 PM
To: Fusebox
Subject: Re: Form Help
> How about just <cfif Attributes.Json IS "on"></cfif> (the "IS" test isn't
a
> case-sensitive test).
> :-)
I read a while back that compareNoCase is a faster way of comparing strings
than using IS...
Cheers,
Emilio
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists