develooper Front page | perl.perl5.porters | Postings from March 2003

Re: New SV Flag

Thread Previous | Thread Next
From:
Nick Ing-Simmons
Date:
March 17, 2003 07:51
Subject:
Re: New SV Flag
Message ID:
20030317155141.1661.10@bactrian.elixent.com
Nicholas Clark <nick@unfortu.net> writes:
>On Mon, Feb 03, 2003 at 01:14:59AM +0100, Arthur Bergman wrote:
>> Hi,
>> 
>> I would like a new SV flag, or SV flag combination that means, this SV 
>> does not live on the arenas and should not be PL_sv_counted, a hint to 
>> sv_free not to plant this sv again.
>> 
>> I would like all SVs that are living in the optree to be of this kind, 
>> this would allow us to move constants out of the pad and let them be 
>> PVMG so they can't be upgraded anymore, same applies for the 
>> METHOD_NAMED SvPVIV.
>
>What do METHOD_NAMED SvPVIV look like? Do they end up as shared hash key
>scalars, because they (often) get used for hash lookup?

Yes.

-- 
Nick Ing-Simmons
http://www.ni-s.u-net.com/


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