Re: [PHP] Re: optimilize web page loading



At 9:14 AM +0100 3/28/08, Zoltán Németh wrote:
> This way for literal strings, the PHP parser doesn't have to evaluate
> this string to determine if anything needs to be translated (e.g.,
> $report .= "I like to $foo"). A minimal speedup, but nonetheless...

that above statement is simply not true. parsing "foo" and 'foo' is all
the same
a good read about it:
http://blog.libssh2.org/index.php?/archives/28-How-long-is-a-piece-of-string.html

greets,
Zoltán Németh

I read it, but it still doesn't disprove the premise.

Cheers,

tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com
.



Relevant Pages

  • Re: Forth Frustrations
    ... If you have a word that accepts a string then it's easy to get the ... we could do "FOO to tell the compiler to keep FOO ready, ... The address was HERE after the child was completed. ... lay down the two literals and then the execute, ...
    (comp.lang.forth)
  • Re: Forth Frustrations
    ... If you have a word that accepts a string then it's easy to get the ... we could do "FOO to tell the compiler to keep FOO ready, ... The address was HERE after the child was completed. ... lay down the two literals and then the execute, ...
    (comp.lang.forth)
  • Re: Forth Frustrations
    ... If you have a word that accepts a string then it's easy to get the ... we could do "FOO to tell the compiler to keep FOO ready, ... The address was HERE after the child was completed. ... lay down the two literals and then the execute, ...
    (comp.lang.forth)
  • Re: Forth Frustrations
    ... If you have a word that accepts a string then it's easy to get the ... we could do "FOO to tell the compiler to keep FOO ready, ... The address was HERE after the child was completed. ... lay down the two literals and then the execute, ...
    (comp.lang.forth)
  • Re: regexp non-greedy matching bug?
    ... pattern in question. ... >> non-greedy or minimal fashion... ... this pattern doesn't look for one or two instances of "foo" in ... It looks for a string that starts with "foo" and maybe has a ...
    (comp.lang.python)