This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Store the package name as a shared HEK.
authorNicholas Clark <nick@ccl4.org>
Thu, 26 May 2005 14:24:31 +0000 (14:24 +0000)
committerNicholas Clark <nick@ccl4.org>
Thu, 26 May 2005 14:24:31 +0000 (14:24 +0000)
commit7423f6db106ad471398838e82e73b22d8c1e166e
treeab25b2b670e12e8d4ae54af8c7e216c47ef20c4a
parentc4a9c09d5b30a93b6241aff3c9915e33e4e41eeb
Store the package name as a shared HEK.
Abolish HvNAME() - as the stored pointer is not a char* you can't set
it directly now.
Storing a pointer to a HEK tracks the length too, and seems to be
faster.

p4raw-id: //depot/perl@24584
embed.fnc
gv.c
hv.c
hv.h
op.c
pp.c
proto.h
sv.c
toke.c
xsutils.c