On 2/27/06, bertrand Gugger <bertrand toggg.com> wrote:
> Michal Felski wrote:
>
> >>>PS. thanks for link about strings. I know
about differences between
> >>>single and double quotas, but I have never
done tests for them.
> >>>
> >>>
> >>>
> >>I'd had the tests around for a while but this
prompted me to finally
> >>add some write-up to the page (as you see it
now). Hopefully this will
> >>convince more people.
> >>
> >>--
> >>Justin Patrin
> >>
> >>
> >>
> >
> >I've run your tests on php 5.1.2. Parsing strings
is much faster under
> >PHP5, specially with eval function which is cached.
Single quotas are
> >still faster then double, but the differences are
lower in some causes.
> >
> >http://boa.ds.pg.gda.pl
/test/
> >
> >
> >
> Looks like 5.1.2 is globally quite double quicker
anyway, requires half
> time quite.
> We should do some actual compare, Justin.
> I will re-brace my "search a string by a
set" one.
> You have some " against ' , I heard ?
It's right there in the thread and Michal has it up as
well.
See: http://pear.reve
rsefold.com/strings/
--
Justin Patrin
--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|