Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
These case statements in a switch all had the same prelude for checking if the locale is UTF-8 and handling that case separately. A few commits ago created macros closer to the base level. This commit factors out the common UTF-8 handling, and then puts the lower lever things in the switch(). Perhaps the C optimizer will be smart enough to do this too, but we might as well do it ourselves, now that it is convenient.
- Loading branch information
1 parent
59ca89d
commit 26538c4
Showing
1 changed file
with
19 additions
and
16 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