This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Use a HEK to store the GV's name, rather than a malloc()ed string.
authorNicholas Clark <nick@ccl4.org>
Sun, 5 Mar 2006 17:47:23 +0000 (17:47 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 5 Mar 2006 17:47:23 +0000 (17:47 +0000)
commitacda4c6a827049c821c192cce45f6c5299c45783
tree02139f3a8a9ace095fd0c53c69b38f1629698203
parent7459f06bb5d2ce197f3e9fd16e46ba87a2ab6995
Use a HEK to store the GV's name, rather than a malloc()ed string.
Saves 1 word in each GV (no more strlen), and will also save the memory
used by the string itself, as the HEK will exist already due to the
key used by the symbol table for this GV.

p4raw-id: //depot/perl@27379
gv.c
gv.h
sv.c
sv.h