This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
S_glob_assign_ref: Move the sref != dref earlier
authorFather Chrysostomos <sprout@cpan.org>
Sun, 14 Nov 2010 19:24:34 +0000 (11:24 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sun, 14 Nov 2010 19:27:06 +0000 (11:27 -0800)
commita00c27eb94c700013d6eb0c27b8faae8b9bc506b
treef325c83494cca4689d30d5f39a27562fb41d75d4
parentab10b0e54487cf5ebc79f00d7b6dbb47485520a3
S_glob_assign_ref: Move the sref != dref earlier

The sref != dref check is faster than the GvNAME and HvENAME checks,
so put it before them.

This will speed up use vars '@ISA' slightly.
sv.c