This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
locale.c: Avoid rescanning a string
authorKarl Williamson <khw@cpan.org>
Tue, 2 Jan 2018 02:07:19 +0000 (19:07 -0700)
committerKarl Williamson <khw@cpan.org>
Wed, 31 Jan 2018 05:27:25 +0000 (22:27 -0700)
commit2213a3be072ef275c38e8b4b22fbe9bb80fe0350
tree26f555296a7763348eca8dd2f72dee8cde7da81f
parent5a8a8f21d50ef51667ac13e3029cbf357a0abc90
locale.c: Avoid rescanning a string

We can use a parameter to find out where in the string the portion of
interest starts.  Do that to avoid starting again from scratch.
locale.c