develooper Front page | perl.perl5.porters | Postings from October 2014

Re: Single-item padrange?

Thread Previous | Thread Next
Father Chrysostomos
October 18, 2014 04:56
Re: Single-item padrange?
Message ID:
I wrote:
> Could you try running this through cachegrind, both with and without
> the list+pushmark optimisation, and perhaps with different numbers
> of lexicals?
> I disabled the list+pushmark optimisation on the
> sprout/nolistpushmarkopt branch to facilitate this.

BTW, a simplistic benchmark like this shows a 10% speed increase with
the list+pushmark optimisation disabled:

$ time ./miniperl -e 'for(1..20000000){() = (0,my($b,$c))}'

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About