Add packname->stash cache before the check if a packname is a
authorArtur Bergman <sky@nanisky.com>
Wed, 2 Apr 2003 13:41:14 +0000 (13:41 +0000)
committerArtur Bergman <sky@nanisky.com>
Wed, 2 Apr 2003 13:41:14 +0000 (13:41 +0000)
commit081fc587427bbceff63d5141014aee022b3f9dd6
tree40ce68e8875794031a9a20550881c9896268eeea
parent6ab58e4d47c419dca1df070f2fa15786b3285750
Add packname->stash cache before the check if a packname is a
filehandle or a package, it works because only packnames
that have been resolved to stashes are added to the cache,
and when a newIO is created we clean the cache.
Results in roughly 1.8 speed increase for class->method()
calls.

p4raw-id: //depot/perl@19133
embedvar.h
gv.c
hv.c
intrpvar.h
perl.c
perlapi.h
pp_hot.c
sv.c