Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 04de52e6194b67304326382b470d4d67e23d745d https://github.com/Perl/perl5/commit/04de52e6194b67304326382b470d4d67e23d745d Author: Karl Williamson <k...@cpan.org> Date: 2024-01-03 (Wed, 03 Jan 2024)
Changed paths: M locale.c Log Message: ----------- locale.c: Reorder cases in a switch() The CODESET case was kept last because it had by far the largest amount of code of any of the cases. But the majority of it has now been shunted into a separate function. There are, in contrast, many LC_TIME related case statements, and future commits will add significantly to the amount of code implementing them; therefore they are better placed last in the switch(). Commit: 7e388717145102073b9150c433d3af44c55f9275 https://github.com/Perl/perl5/commit/7e388717145102073b9150c433d3af44c55f9275 Author: Karl Williamson <k...@cpan.org> Date: 2024-01-03 (Wed, 03 Jan 2024) Changed paths: M locale.c Log Message: ----------- locale.c: Reorder two more case: statements This is in preparation for future commits where the new order will make more sense than the current one. Commit: 26d70844c1d44097a570f82ecb7beec39e783153 https://github.com/Perl/perl5/commit/26d70844c1d44097a570f82ecb7beec39e783153 Author: Karl Williamson <k...@cpan.org> Date: 2024-01-03 (Wed, 03 Jan 2024) Changed paths: M locale.c Log Message: ----------- locale.c: Adjust some #if, #else This removes the need for a FALLTHROUGH comment. Compare: https://github.com/Perl/perl5/compare/2100da0d758d...26d70844c1d4