Re: Speeding question, " vs '
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Wed, 30 Apr 2008 08:45:35 -0400
jodleren wrote:
Hi!
It just crossed my mind, that I usually do it like this:
$whatver=$_POST["returned_value"];
instead of
$whatver=$_POST['returned_value'];
The latter should be faster, as within ' nothing is replaced as in ".
I now wornder, what difference this makes in speed?
It should make some, but not really.... then again, with 10000000
users, it might.
What do you do?
WBR
Sonnich
I generally use single quotes, mostly out of habit. But the difference is going to be negligible. And if you have so many users that it's overloading your system, chances are other things will contribute more to enhancing your performance.
Don't try to prematurely optimize. All it will do is delay your project and give you ulcers.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.
- References:
- Speeding question, " vs '
- From: jodleren
- Speeding question, " vs '
- Prev by Date: Re: Compression Functions
- Next by Date: Re: Speeding question, " vs '
- Previous by thread: Re: Speeding question, " vs '
- Next by thread: Re: Speeding question, " vs '
- Index(es):
Relevant Pages
|