This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
SV_CONST(name) and PL_sv_consts
authorRuslan Zakirov <ruz@bestpractical.com>
Mon, 25 Mar 2013 01:31:35 +0000 (05:31 +0400)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 30 Jun 2013 18:43:41 +0000 (11:43 -0700)
commita38ab4751f3c0df44dc09e4d685a2637e93c9778
tree81b350cb112e5aa7f0e659dbffd736e86bf0358a
parentc106c2be8b83eeb3799c9f2127c5030a7a04115a
SV_CONST(name) and PL_sv_consts

SV_CONST(XXX) returns SV* that contains "XXX" string.
SVs are built on demand and stored in interp's structure
for re-use. All SVs have precomputed hash value.

Creates SVs on demand, we don't want 35 SV created during
compile time or cloned during thread creation.
embedvar.h
intrpvar.h
perl.c
sv.c
sv.h