Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
isUTF8 DFA: change while {} to do {} while;
This saves a conditional in many cases. Core Perl doesn't call this on an empty string, so the first test that it is empty is redundant. We can't guarantee this for non-core calls, so the conditional is made explicit for them.
- Loading branch information
1 parent
6af810c
commit 539ec2f
Showing
1 changed file
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters