Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 67c0a57216f8a9e16fd186e292f81d7fc6c3a817
https://github.com/Perl/perl5/commit/67c0a57216f8a9e16fd186e292f81d7fc6c3a817
Author: Karl Williamson <[email protected]>
Date: 2025-09-23 (Tue, 23 Sep 2025)
Changed paths:
M utf8.h
Log Message:
-----------
utf8.h Swap which definition is the base
The GOT defines are now the principal ones, and the ALLOW ones are
changed to be in terms of the GOT. This seems right to me, as the GOT
ones are the ones anyone might actually care about. (The ALLOW ones are
for weird cases.) More importantly this makes the next commit make more
sense.
Commit: 686c25196746ca2cdb617e926e07fe871b31d0ad
https://github.com/Perl/perl5/commit/686c25196746ca2cdb617e926e07fe871b31d0ad
Author: Karl Williamson <[email protected]>
Date: 2025-09-23 (Tue, 23 Sep 2025)
Changed paths:
M utf8.h
Log Message:
-----------
utf8.h: Define flags in terms of bit positions
This commit creates new #defines for the bit positions for the flags
that get passed to various functions that deal with UTF-8 input, and
then redefines the flag bits as the positions shifted to the proper
place.
There should be no change in the code generated by this.
Commit: 0f17f26b24435a0ee046e1ff506c36f4fb4f3acd
https://github.com/Perl/perl5/commit/0f17f26b24435a0ee046e1ff506c36f4fb4f3acd
Author: Karl Williamson <[email protected]>
Date: 2025-09-23 (Tue, 23 Sep 2025)
Changed paths:
M utf8.c
Log Message:
-----------
Perl_utf8_to_uv_msgs_helper: Use bit pos in switch()
The previous commit #defined the bit position of various flag bits.
This commit changes to use those as cases in a switch(), rather than the
shifted values. This results in better generated code as the cases
now reduce to: case 0: case 1: case 2: ...
as opposed to previously: case 1<<0: case 1<<1: case 1<<2: ...
clang and gcc were unable to see the pattern previously but now are.
Compare: https://github.com/Perl/perl5/compare/4b10878d5b59...0f17f26b2443
To unsubscribe from these emails, change your notification settings at
https://github.com/Perl/perl5/settings/notifications