Re: Re: [PEPr] +1 for Images::Puzzle
| From: | Justin Patrin | Date: | Mon, 27 Feb 2006 20:15:36 +0000 |
| Subject: | Re: Re: [PEPr] +1 for Images::Puzzle | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-41518@lists.php.net to get a copy of this message | ||
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