This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
introduce gv_stashsvpvn_cached()
Wrap gv_stashpvn_internal() with a routine which caches
what it does, and rework gv_stashsv() and gv_stashpvn()
to use the cached codepath.
Also rework the documentation of gv_stashsv() and gv_stashpvn()
that the gv_stashsv() is prefered as there is a mechanism to cache
the hash value associated with the name which requires an SV
to passed in as an argument for caching purposes.
Note this is a reworked version of sybers original patch.