> Why would you care?

I use code similar to this all over the place...  Say I used it in 250
places in an application, and I had 150 simultaneous users on that
application, a 2 ms time savings could become a very big thing, especially
if the time spent coding using one style takes exactly as long as the other.

The first example is indeed generally accepted as faster...

-Cameron

--------------------
Cameron Childress
McRae Communications
770.460.7277 x.232
770.460.0963 fax

> -----Original Message-----
> From: James Sleeman [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, April 01, 2000 8:07 PM
> 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 rarely used (when somebody changes a password by the
> look) so it would make nothing above an infintessimal difference.
>
> Try it out experimentally if you really want to know (do a couple thousand
> executions of each command in a loop (using the same set of
> passwords for each) and
> see what the difference is (with timing reports turned on in the
> CFAdministrator)).
>
>
>
> ------------------------------------------------------------------
> ------------
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
> _talk or send a message to [EMAIL PROTECTED] with
> 'unsubscribe' in the body.

------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to