brain freeze: which is faster, contains or REFind

2007-11-01 Thread Larry Lyons
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

Re: brain freeze: which is faster, contains or REFind

2007-11-01 Thread Barney Boisvert
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

Re: brain freeze: which is faster, contains or REFind

2007-11-01 Thread Ben Doom
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

RE: CFScript StructInsert or cfset. Which is faster?

2004-01-14 Thread Hugo Ahlenius
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

RE: CFScript StructInsert or cfset. Which is faster?

2004-01-14 Thread Dave Watts
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 StructInsert or cfset. Which is faster?

2004-01-13 Thread Matt Robertson
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

RE: CFScript StructInsert or cfset. Which is faster?

2004-01-13 Thread Tony Weeg
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

RE: CFScript StructInsert or cfset. Which is faster?

2004-01-13 Thread Tony Weeg
: 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

Re: CFScript StructInsert or cfset. Which is faster?

2004-01-13 Thread Matt Liotta
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

RE: Which Is Faster, multiple CFQuery or Multiple Query of a Quer y?

2002-05-10 Thread Dave Watts
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

RE: Which Is Faster, multiple CFQuery or Multiple Query of a Quer y?

2002-05-09 Thread Bryan Love
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

Re: which is faster ?

2002-04-27 Thread Bud
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

RE: which is faster ?

2002-04-27 Thread Dave Watts
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

which is faster ?

2002-04-26 Thread bajaria aslam
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

Re: which is faster ?

2002-04-26 Thread Paul Giesenhagen
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

Which is faster - REFind() or REFindNoCase()?

2002-01-28 Thread Jim McAtee
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

Re: Which is faster - REFind() or REFindNoCase()?

2002-01-28 Thread Michael Dinowitz
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

RE: which is faster?

2000-11-26 Thread Scott, Andrew
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

RE: which is faster?

2000-11-24 Thread Philip Arnold - ASP
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

which is faster?

2000-11-23 Thread Jon Hall
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

Re: Which is Faster?

2000-10-01 Thread James Sleeman
---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 is Faster?

2000-09-30 Thread paul smith
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

RE: which is faster?

2000-04-28 Thread Steve Reich
) 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

which is faster?

2000-04-28 Thread JM
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

Which is faster: neq '' or len(#v#)?

2000-04-18 Thread Tom Sammons
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

RE: Which is faster: neq '' or len(#v#)?

2000-04-18 Thread lsellers
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

Which is faster?

2000-04-01 Thread stas
Is cfif not len(trim(newpassword)) faster than: cfif trim(newpassword) is "" ? Thanks -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit

Re: Which is faster?

2000-04-01 Thread Michael Kear
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

Re: Which is faster?

2000-04-01 Thread James Sleeman
---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

RE: Which is faster?

2000-04-01 Thread Cameron Childress
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

Re: Which is faster?

2000-04-01 Thread Stephen M. Aylor
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