Hi all,
Suffering from a post Halloween brain freeze here, but I cannot remember which
would be faster:
cfif foo Contains xyz
or
cfif refind(foo,xyz,1,false)
thanks,
larry
--
Larry C. Lyons
Web Analyst
BEI Resources
American Type Culture Collection
http://www.beiresources.org
email
be slightly faster than their NoCase equivalents.
cheers,
barneyb
On 11/1/07, Larry Lyons [EMAIL PROTECTED] wrote:
Hi all,
Suffering from a post Halloween brain freeze here, but I cannot remember
which would be faster:
cfif foo Contains xyz
or
cfif refind(foo,xyz,1,false)
thanks
a post Halloween brain freeze here, but I cannot remember
which would be faster:
cfif foo Contains xyz
or
cfif refind(foo,xyz,1,false)
thanks,
larry
--
Larry C. Lyons
Web Analyst
BEI Resources
American Type Culture Collection
http://www.beiresources.org
email: llyons(at)atcc(dot
OfficeMobile:+46 733 467111
WWW: http://www.grida.no
-
| -Original Message-
| From: Matt Robertson [mailto:[EMAIL PROTECTED]
| Sent: Wednesday, January 14, 2004 03:36
| To: CF-Talk
| Subject: CFScript StructInsert or cfset. Which
I have a collection of parameters that I keep in a struct.
Mostly out of a perceived feeling that this is tidier.I use
cfscript for this sort of thing for speed.It occurs to me I
should ask Those Who Know... would it be faster to just use
plain variables?Or a 2d array?An example is below.
I have a collection of parameters that I keep in a struct.Mostly out of a perceived feeling that this is tidier.I use cfscript for this sort of thing for speed.It occurs to me I should ask Those Who Know... would it be faster to just use plain variables?Or a 2d array?An example is below.
cfscript
as well
-anonymous
-Original Message-
From: Matt Robertson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 9:36 PM
To: CF-Talk
Subject: CFScript StructInsert or cfset. Which is faster?
I have a collection of parameters that I keep in a struct.Mostly out
of a perceived feeling
: Tuesday, January 13, 2004 9:41 PM
To: CF-Talk
Subject: RE: CFScript StructInsert or cfset. Which is faster?
if ur using cfmx, cfscript is no faster, simply a design style choice
fyi
but to answer your question, I would try developing both ways...cfloop
it, lets say 1000 times, throw a tick count
There is no difference between storing data in the variables scope or
in a structure since after all the variables scope is just a structure.
-Matt
On Jan 13, 2004, at 9:35 PM, Matt Robertson wrote:
I have a collection of parameters that I keep in a struct. Mostly out
of a perceived
In theory the use of query or query should perform
better - the actual difference you see will be
influenced by amount of data actually being returned,
network traffic and so onyou can always test it
to see the actual difference. One big advantage that
CFSQL offers is that you
day, that my child may have
peace'...
- Thomas Paine, The American Crisis
-Original Message-
From: Joseph Thompson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 09, 2002 8:12 AM
To: CF-Talk
Subject: Re: Which Is Faster, multiple CFQuery or Multiple Query of a
Query?
In many
On 4/26/02, Paul Giesenhagen penned:
cfswitch is much faster ... but both are usable in different situations ...
look through the archives, others have done tests and outputed their
variances
I am assuming it is faster because it doesn't have to evaluate an expression
and just has to
Any difference in performance between using a
cfswitch
cfcase
/cfcase
/cfswitch statement
and using
cfif
cfelseif
/cfif statement?
Does anyone know which is faster and why?
If you have a lot of choices, and the possible values for those choices are
known in advance
Hey All,
Any difference in performance between using a
cfswitch
cfcase
/cfcase
/cfswitch statement
and using
cfif
cfelseif
/cfif statement?
Does anyone know which is faster and why?
Thanks
__
Do You Yahoo!?
Yahoo! Games - play
QuillDesign
http://www.quilldesign.com
SiteDirector v2.0 - Commerce Builder
Hey All,
Any difference in performance between using a
cfswitch
cfcase
/cfcase
/cfswitch statement
and using
cfif
cfelseif
/cfif statement?
Does anyone know which is faster and why?
Thanks
Offhand, I'd think REFind() would be faster than REFindNoCase(), since
neither the string being tested, nor the RE would have to transformed to all
caps (or all lowercase) prior to the test.
If I've got an RE that already takes into account case insensitiviy by using
character classes, which
http://www.fusionauthority.com/alert/index.cfm?alertid=5#Tech2
The results are from CF 4.5 but you can see the basics.
At 07:05 PM 1/28/02, you wrote:
Offhand, I'd think REFind() would be faster than REFindNoCase(), since
neither the string being tested, nor the RE would have to transformed to
Senior Cold Fusion Application Developer
ANZ eCommerce Centre
* Ph 9273 0693
* [EMAIL PROTECTED]
-Original Message-
From: Jon Hall [mailto:[EMAIL PROTECTED]]
Sent: 24 November 2000 18:42
To: CF-Talk
Subject: which is faster?
This is a multi-part message in MIME format
I have a calendar app that calls the now() function many times =
throughtout and format it differently using the day(), month() and so on =
functions. I got a thought that it may be faster just to set the now() =
value to a variable in the application.cfm so I dont have to =
contininually
This is a multi-part message in MIME format.
--=_NextPart_000_0017_01C055C0.165A91D0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I have a calendar app that calls the now() function many times =
throughtout and format it differently
---Reply to mail from paul smith about Which is Faster?
Which do you expect to be faster? 1 or 2? Why?
1. CF_QCOLTOL QUERY="VERITYSEARCHLISTINGS" COLNAME="KEY"
LISTNAME="QueryList" QUALIFYER="" DELIMITER=","
CFSET CLIENT.SEARCHLIST = QU
Which do you expect to be faster? 1 or 2? Why?
1. CF_QCOLTOL QUERY="VERITYSEARCHLISTINGS" COLNAME="KEY"
LISTNAME="QueryList" QUALIFYER="" DELIMITER=","
CFSET CLIENT.SEARCHLIST = QUERYLIST
2. CFSET CLIENT.SEARCHLIST = ValueList(VeritySearchListings.KEY)
best, paul
) for
the java solution.
-Original Message-
From: JM [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 28, 2000 10:58 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: which is faster?
This is a multi-part message in MIME format.
--=_NextPart_000_00C3_01BFB100.9B4D1620
Content-Type: text
This is a multi-part message in MIME format.
--=_NextPart_000_0110_01BFB109.E4E99AC0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
From my understanding of Java Servlets and EJB, in a production =
environment if you were to stress test a
I know we've determined that cfif not varname is faster than cfif varname is not
0, etc.,
but is cfif varname is not '' slower than cfif len(varname)?
Tom
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe
I know we've determined that cfif not varname is faster than
cfif varname is not 0, etc.,
but is cfif varname is not '' slower than cfif len(varname)?
Logically the first should be faster. It only has to do a string compare of
1 character. The len function has to compare for the full length
Is
cfif not len(trim(newpassword))
faster than:
cfif trim(newpassword) is ""
?
Thanks
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
Seth, pardon me if this is a dumb question, but how do you know?
Cheers,
Mike Kear
On Sat, 1 Apr 2000, Seth Petry-Johnson wrote:
Is
cfif not len(trim(newpassword))
faster than:
cfif trim(newpassword) is ""
I believe the first one is faster.
Regards,
Seth Petry-Johnson
Argo
---Reply to mail from stas about Which is faster?
Is
cfif not len(trim(newpassword))
faster than:
cfif trim(newpassword) is ""
Why would you care ? The dfference would be negligble and looks like
the code would be rarely used (when somebody changes a password by the
look) s
To: [EMAIL PROTECTED]
Subject: Re: Which is faster?
---Reply to mail from stas about Which is faster?
Is
cfif not len(trim(newpassword))
faster than:
cfif trim(newpassword) is ""
Why would you care ? The dfference would be negligble and looks like
the code would be r
Seth,
Thx. nice articulation. I see a book in your future - no pictures tho'
:-)
Stephen M. Aylor
Aylor Insurance Agency, Inc.
"Specialized Insurance for IT - We Cover IT"
[EMAIL PROTECTED]
949.581.2333 (v)
949.581.2814 (f)
Seth, pardon me if this is a dumb question, but how do you
31 matches
Mail list logo