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

Re: [perl #78194] Referencing a PADTMP twice produces two copies

Thread Previous | Thread Next
From:
Eric Brine
Date:
August 14, 2013 16:11
Subject:
Re: [perl #78194] Referencing a PADTMP twice produces two copies
Message ID:
CALJW-qEvsoEququcGUOmN6c9b56OQHin0tF=QJc_Smh353_MbA@mail.gmail.com
On Wed, Aug 14, 2013 at 11:24 AM, bulk88 via RT
<perlbug-followup@perl.org>wrote:

> On Tue Aug 13 13:46:33 2013, sprout wrote:
> >
> > And I applied that patch, with a slight tweak (with one arg it was
> > leaking ops), as 34b94bc4d.
> >
>
> The patch looks inefficient. Every XSUB call now has a larger overhead.
>

Why do you think so? Do you think S_ck_dump gets called for every XSUB
call? Isn't it only called for calls Devel::Peek::Dump (and imports
thereof)?

+    CV * const cv = get_cvn_flags("Devel::Peek::Dump", 17, 0);
+    cv_set_call_checker(cv, S_ck_dump, (SV *)cv);

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