This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove op_const_class; just use the name on the stack
authorsyber <syber@crazypanda.ru>
Mon, 24 Nov 2014 15:55:15 +0000 (18:55 +0300)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 25 Nov 2014 06:12:53 +0000 (22:12 -0800)
commitd648ffcb179b885089e064ec1d58c60027c80915
tree404bde96f9e794940e8551eeb46f3b4807db57ea
parentf5fdb0259d5e9470e8291544a8b209e202d36334
Remove op_const_class; just use the name on the stack

Instead of storing the class name in the op_const_class field of the
METHOP in addition to pushing it on to the stack, just use the item on
the stack.  This also makes $class->method faster if $class is already
a shared hash string.
op.c
op.h
pp_hot.c