develooper Front page | perl.perl5.porters | Postings from February 2013

Re: PL_sv_objcount

Thread Previous | Thread Next
From:
Andy Dougherty
Date:
February 28, 2013 17:02
Subject:
Re: PL_sv_objcount
Message ID:
alpine.DEB.2.02.1302281159280.31390@fractal.phys.lafayette.edu
On Thu, 28 Feb 2013, Steffen Mueller wrote:

> On 02/28/2013 05:31 PM, Andy Dougherty wrote:
> > To be balanced, I also suspect that the speed gain for long-running
> > complex processes will be rather small and difficult to measure.
> 
> Agreed.
> 
> > > In the long game, maintainability and better algorithms win.
> > 
> > This, I think, is the most relevant point.  Removing a global variable
> > that had to be updated in multiple places (and which XS authors also have
> > to remember to update) may well be a small win.  I haven't looked deeply
> > to see whether there might be other drawbacks to removing PL_sv_objcount,
> > but it looks like the sort of code cleanup that's likely to be useful.
> 
> That's mainly why I suggested it. I discussed performance mostly because I
> felt it would come up.
> 
> Provided that Nicholas' fix for the STDERR bug works out, I will go ahead with
> this change.

What about CPAN modules using it?  There are at least a few.   I forget 
how we deal with such things.

-- 
    Andy Dougherty		doughera@lafayette.edu

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