On 2/27/06, Michal Felski <fela fela.pl> 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/
>
I also tested under PHP5 but probably on a much slower
machine. Try
making it 1e7 iterations and see if you get viewable results
for the
rest.
--
Justin Patrin
--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php
|