develooper Front page | perl.perl5.porters | Postings from July 2018

[perl #133327] stack checks make -DDEBUGGING builds incompatiblewith normal ones

Thread Previous | Thread Next
Sergey Aleynikov via RT
July 3, 2018 16:55
[perl #133327] stack checks make -DDEBUGGING builds incompatiblewith normal ones
Message ID:
On Tue, 03 Jul 2018 08:49:38 -0700, wrote:

> Would it be feasible move the -DDEBUGGING check in EXTEND to run time,
> for instance by calling a function that's a no-op in non-DEBUGGING
> interpreters, or checking for an interpreter variable that's only set
> in -DDEBUGGING builds? This has a runtime cost, but I'm not sure how
> significant that is?

A lot of module authors use EXTEND pessimistically, like the whole XPUSH* macro family, effectively calling EXTEND in O(return values) number of times. And the suggested approach will surely penalize this. Cpan search showed more than 1000 distribution with this pattern.

via perlbug:  queue: perl5 status: new

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