develooper Front page | perl.perl5.porters | Postings from September 2012

Re: [PATCH part2] Scalar Types enable Minimal Copying

Thread Previous
Reverend Chip
September 29, 2012 16:42
Re: [PATCH part2] Scalar Types enable Minimal Copying
Message ID:
On 9/29/2012 9:30 AM, Dave Mitchell wrote:
> On Fri, Aug 12, 2011 at 01:33:55AM -0700, Chip Salzenberg wrote:
>> One of hte annoying things about copying a Perl value is that if it happens
>> to be a large representation, the copy will be too, even if there's no need.
> [snip]
>> PS: A few self-tests are failing but for obscure reasons (e.g. after forking
>> a child perl).  These might just be artifacts of weird build history.  Will
>> advise.
> Just clearing out old emails and noticed no-one ever replied to this.
> Did anything ever happen with this? Were the failing tests resolved?
> It looks on first glance to be a sensible optimisation.

To work fully, it needs scalar provenance flags.  A version of this
could easily be devised that doesn't depend on provenance; it would at
least keep PVMG from propagating, reducing to PVNV or PVIV generally. 
But nobody did that.

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