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

Re: leaky clones (was Re: [perl #xxxxx] Problem using "local" with "threads::shared")

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
January 17, 2006 15:41
Subject:
Re: leaky clones (was Re: [perl #xxxxx] Problem using "local" with "threads::shared")
Message ID:
20060117234251.GD5246@iabyn.com
> I think if you're forwards cloning the entire interpreter, and all back
> references are consistent, than the two behaviours are consistent. I was
> assuming that the current behaviour is likely more efficient, and given that
> we already have the code, it's not like we'd be spending time on writing a
> not-fantastic optimisation.

Except if the reference only exists on the save stack, then it wont get
cloned.

-- 
Hofstadter's Law: It always takes longer than you expect, even when you
take into account Hofstadter's Law.

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