Re: Speeding question, " vs '



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
==================

.



Relevant Pages

  • Re: Mcenroe just cant stop repeating Sampras fluff
    ... RahimAsif wrote: ... I don't know if Patrick McEnroe has changed his mind since, ... would highly doubt it - given how he laughed off Fed's chances of ...
    (rec.sport.tennis)
  • Re: Great Meals Mr Jute cooked
    ... Andre Jute wrote: ... I really don't mind if every other man becomes a poof. ... It'd raise my chances of finding suitable women perhaps. ...
    (rec.audio.tubes)
  • Re: ..sitting comfortably..? UK to US - best route..
    ... your opinions/advice on our chances... ... in same area and aims to transfer his skill overseas. ... I just have to say this- If you put your mind to anything in life, ...
    (misc.immigration.usa)
  • Re: Kuramathi, Maldives trip report
    ... > Normal get up time in Sharm for a visit to the Thistlegorm is 4am! ... Mind ... it's always there so the chances are close to a 100% sighting. ...
    (uk.rec.scuba)
  • Re: C++, C# or Java.
    ... >memorize where you are in the code, push in a new stack frame in your mind, ... I consider it a DIY language construction kit. ... When it comes to operator overloading, ...
    (comp.lang.java.programmer)