develooper Front page | perl.perl5.porters | Postings from January 2003

Re: change #9754: 5 x slowdown for perl -d

From:
Rafael Garcia-Suarez
Date:
January 20, 2003 00:27
Subject:
Re: change #9754: 5 x slowdown for perl -d
Message ID:
20030120092640.199e8698.rgarciasuarez@free.fr
Dave Mitchell <davem@fdgroup.com> wrote:
> On Sun, Jan 19, 2003 at 11:54:15PM +0000, Dave Mitchell wrote:
> > I guess the other thing to do is to stop pp_dbstate() testing
> > op_private; or find out why it does it, and only test the right bit(s).
> 
> Interestingly, looking at the src code for 5.000, the test is already
> there for op_private in pp_dbstate(), but op.h makes no mention of a
> private flag for OP_*STATE.
> 
> Perhaps it was a mistake?

Snafu :
pp_dbstate calls the PUSHSUB macro, defined in cop.h, that compares the
op_private field of the current op against some OPp_* flags, that clash
with the HINT_* flags. There's probably a bug here. But I don't understand
yet the purpose of the code.



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About