This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Change some strBEGINs() to memBEGINs()
authorKarl Williamson <khw@cpan.org>
Thu, 2 Nov 2017 20:03:40 +0000 (14:03 -0600)
committerKarl Williamson <khw@cpan.org>
Mon, 6 Nov 2017 19:50:06 +0000 (12:50 -0700)
commit0f12654f40cf107e9bddf1bd2acf7f0e41068be5
tree2b16729ca896219b0981d200bd252359382abebb
parentbdb7e3f0f6e41516d2c50d43e5f3f1373db014b0
Change some strBEGINs() to memBEGINs()

The latter is generally faster when the length is already known.

This commit also changes a few hard-coded numbers to use sizeof().
gv.c
pp.c
pp_pack.c
regcomp.c
toke.c