develooper Front page | perl.perl5.porters | Postings from May 2006

Re: [perl #3306] DESTROY doesn't get called.

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
May 1, 2006 11:55
Subject:
Re: [perl #3306] DESTROY doesn't get called.
Message ID:
20060501185521.GE2758@iabyn.com
On Mon, May 01, 2006 at 09:05:30PM +0300, Yuval Kogman wrote:
> On Mon, May 01, 2006 at 19:49:41 +0100, Dave Mitchell wrote:
> > but that's roughly what a CV is anyway: it's an SV that contains pointers
> > to an op tree and a scratchpad.
> 
> Oh... I was assuming if it were that way then the optimization would
> not be so substantial ;-)

I should imagine it's copying the scratchpad that takes most of the time.
Hmm, perhaps we could just share the scratchpads for non-closure anon
subs?

-- 
Justice is when you get what you deserve.
Law is when you get what you pay for.

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