This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
POSIX.xs: Move constant tests out of loop
authorKarl Williamson <khw@cpan.org>
Fri, 11 Aug 2017 03:39:06 +0000 (21:39 -0600)
committerKarl Williamson <khw@cpan.org>
Thu, 9 Nov 2017 03:21:44 +0000 (20:21 -0700)
commit604d7733597968dd3d3b15a0c50861ee7ade3f96
treee85ef95ef25e831555da23c4220967d793e1aeb2
parent9eda1ea6670ffea7d0f59d985c0ad45d7b53cdb8
POSIX.xs: Move constant tests out of loop

Whether or not a locale is in UTF-8 doesn't change in this loop;
calculate it once, prior to the loop
ext/POSIX/POSIX.xs