This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
utf8.c: Move test out of loops
authorKarl Williamson <public@khwilliamson.com>
Sat, 19 Nov 2011 21:41:26 +0000 (14:41 -0700)
committerKarl Williamson <public@khwilliamson.com>
Fri, 13 Jan 2012 16:58:33 +0000 (09:58 -0700)
commit8ed25d5335a26f2d5a2bc44bb73012fe867c7626
tree6832ee8762cc7b12579b5c2466c3fc8c738aebc2
parent06feba9ae8cd4c065e9d6b3f9b17ba4de6794d14
utf8.c: Move test out of loops

We set the upper limit of the loops before entering them to the min of
the two possible limits, thus avoiding a test each time through
utf8.c