On 10/18/2014 06:56 AM, Father Chrysostomos wrote: > 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))}' Do you have any idea if this might be also relevant to code that's not completely contrived? Maybe I'm being insufficiently creative, but this seems like a corner case that shouldn't be at the forefront of optimization efforts. Sorry if I'm just being dense. :) --SteffenThread Previous | Thread Next