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

Re: PL_sv_objcount

Thread Previous | Thread Next
From:
Steffen Mueller
Date:
February 28, 2013 16:57
Subject:
Re: PL_sv_objcount
Message ID:
512F8C37.4020308@cpan.org
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.

--Steffen

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