Conferring w/ Justin and "Stolen" from Mike Dinowitz's HOF style guide:
Code - There are a number of code issues that should be examined. Most of
them have to be written up in separate articles due to the depth of
information. Until these articles are out, here's the basics.
Every app should have
> names, etc., when setting them in the Application.cfm file? Is it
> or ? Judging by the responses, I would assume that
The best way is to something like
.
.
.
~Justin MacCarthy
---
> I'm not sure .. anyone else have an opinion?
Since it was fairly easy to do - I ran loads of timing tests on the
difference between CFSet and CFParam.
CFParam runs about 1.1-1.2 times slower than a CFSet - BUT as has been
mentioned, using Application scoping speeds up the access loads - it's j
This whole thread is getting a little off the orginal question, which was,
sort of, what's the best way set 'constant' variables, such as DSNs, company
names, etc., when setting them in the Application.cfm file? Is it
or ? Judging by the responses, I would assume that is
faster, but it seams a
Todd,
>
> Any idea which is faster?
>
CFSET is faster of course, but i think that you'll find that cfparam is
faster than :
> > The flags
> > could be stored in a fast access location rather than a variable look
> up/variable verification in memory somewhere.
>
> Such as?
>
I think y
Hello,
Todd Ashworth wrote:
> > Hello,
> >
> > My *guess* as to how CF handles it is to use a flag to determine if it has
> been set already - if this flag is set don't bother checking and/or setting
> the variable again.
>
> Any idea which is faster?
>
Again my guess would that *if* an applica
> Hello,
>
> My *guess* as to how CF handles it is to use a flag to determine if it has
been set already - if this flag is set don't bother checking and/or setting
the variable again.
Any idea which is faster?
> The flags
> could be stored in a fast access location rather than a variable look
up
Hello,
My *guess* as to how CF handles it is to use a flag to determine if it has been set
already - if this flag is set don't bother checking and/or setting the variable again.
The flags
could be stored in a fast access location rather than a variable look up/variable
verification in memory s
I'm not sure .. anyone else have an opinion?
Todd Ashworth
- Original Message -
From: Kym Kovan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 04, 2000 7:46 AM
Subject: Re: What am I doing wrong?
> Hi Todd,
>
> >If you use in the Application.cfm file, the gets execut
9 matches
Mail list logo