> = is an assignment operator, not a comparison operator. EQ
> and IS are
> comparison operators. I wouldn't say it's an
> inconsistency. It actually
> makes a little more sense. With that said, I screw it up
> all the time.
> However, one thing that's helped me is that at MAX in New
> Orleans we
> covered some performance tips and if you use EQ on
> numerical comparisons
> and IS on string comparisons, the performance will be
> better.

I remembered someone saying this had been debunked as something that
was true at one point in time but no longer true with recent versions
of CF, like the idea that cfscript is faster than tags or the fact
that iif() is slow compared to equivalent cfif and cfset statements.
Both of these two latter examples are items which were true once upon
a time, but not with recent versions. Or so I've heard.

s. isaac dealey     434.293.6201
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237569
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to