It may possibly add a little overhead, however I haven't seen any noticeable performance hit.

Well one if your query fails and your returning the query var, than your CFC will fail and the controller will not get called. When varing them this way and the query fails my dispatch would handle the undefined values.

Raymond Camden wrote:

Why do you create a blank query? I used to this as well, but it seems like
doing

<cfset var x = queryNew("")>

would be much slower than

<cfset var x = "">

Well, maybe _much_ slower isn't exactly right, but it is extra work that is
not necessary.
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email.


CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to