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

Re: PL_sv_objcount

Thread Previous | Thread Next
Steffen Mueller
February 28, 2013 16:57
Re: PL_sv_objcount
Message ID:
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.


>> 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.


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