develooper Front page | perl.perl5.porters | Postings from December 2011

PERL_OLD_COPY_ON_WRITE

Thread Next
From:
Father Chrysostomos
Date:
December 11, 2011 11:34
Subject:
PERL_OLD_COPY_ON_WRITE
Message ID:
60396028-D993-4565-8EE9-3746ABB79C27@cpan.org
sv.c contains this comment:

#ifndef PERL_OLD_COPY_ON_WRITE
	     /* The change that added SV_COW_SHARED_HASH_KEYS makes the logic
		when PERL_OLD_COPY_ON_WRITE is defined a little wrong.
		Conceptually PERL_OLD_COPY_ON_WRITE being defined should
		override SV_COW_SHARED_HASH_KEYS, because it means "always COW"
		but in turn, it's somewhat dead code, never expected to go
		live, but more kept as a placeholder on how to do it better
		in a newer implementation.  */

What is wrong with PERL_OLD_COPY_ON_WRITE? Why wouldn’t it work the way it is written?


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