This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
simplify Perl_xs_apiversion_bootcheck
authorDaniel Dragan <bulk88@hotmail.com>
Fri, 7 Nov 2014 04:57:14 +0000 (23:57 -0500)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 7 Nov 2014 05:50:43 +0000 (21:50 -0800)
commit0e42d607f5f6c7f9dcca70d0d07f7d7f5dca5774
tree63ee1b5a04098da8325e49bf2782c6bc373a9f9b
parent9d22ccf6b40a09ba97011e2b50fde44e4eb71aa6
simplify Perl_xs_apiversion_bootcheck

We control both strings. Perl API versions are not old decimal or alphas
versions. Maints dont increase Perl API ver. Just do a memcmp. Faster and
less machine code. Before 0xA6 bytes of machine code on VC 2003 32b,
after 0x35. This patch is related to [perl #123136].
XSUB.h
embed.fnc
pod/perlclib.pod
pod/perldiag.pod
proto.h
util.c