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

Re: Single-item padrange?

Thread Previous | Thread Next
From:
Father Chrysostomos
Date:
October 18, 2014 04:56
Subject:
Re: Single-item padrange?
Message ID:
20141018045629.311.qmail@lists-nntp.develooper.com
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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About