Branch: refs/heads/blead Home: https://github.com/Perl/perl5 Commit: 2e4b163cba870808f5fea69086e5855d8bf203a0 https://github.com/Perl/perl5/commit/2e4b163cba870808f5fea69086e5855d8bf203a0 Author: Dagfinn Ilmari Mannsåker <ilm...@ilmari.org> Date: 2025-07-16 (Wed, 16 Jul 2025)
Changed paths: M regcomp.c M regcomp_internal.h Log Message: ----------- RExC_state_t: convert in_lookaround to boolean Commit: 5d7ea5c6da318e5688c55b8d4389f5014038472d https://github.com/Perl/perl5/commit/5d7ea5c6da318e5688c55b8d4389f5014038472d Author: Dagfinn Ilmari Mannsåker <ilm...@ilmari.org> Date: 2025-07-16 (Wed, 16 Jul 2025) Changed paths: M regcomp.c M regcomp_internal.h Log Message: ----------- RExC_state_t: convert contains_locale to boolean Commit: cc8c9ac44e4086656046574838388d14ebe0cf38 https://github.com/Perl/perl5/commit/cc8c9ac44e4086656046574838388d14ebe0cf38 Author: Dagfinn Ilmari Mannsåker <ilm...@ilmari.org> Date: 2025-07-16 (Wed, 16 Jul 2025) Changed paths: M regcomp.c M regcomp_internal.h Log Message: ----------- RExC_state_t: convert recode_x_to_native to boolean Commit: 6159afcfcfbe3c9fa5dee40daf7935e1df8021dd https://github.com/Perl/perl5/commit/6159afcfcfbe3c9fa5dee40daf7935e1df8021dd Author: Dagfinn Ilmari Mannsåker <ilm...@ilmari.org> Date: 2025-07-16 (Wed, 16 Jul 2025) Changed paths: M regcomp.c M regcomp_internal.h Log Message: ----------- RExC_state_t: convert in_multi_char_class to boolean Commit: 449cfab63768dd1d462117b7123b4365bb07681b https://github.com/Perl/perl5/commit/449cfab63768dd1d462117b7123b4365bb07681b Author: Dagfinn Ilmari Mannsåker <ilm...@ilmari.org> Date: 2025-07-16 (Wed, 16 Jul 2025) Changed paths: M regcomp.c M regcomp_internal.h Log Message: ----------- RExC_state_t: convert (orig_)utf8 to boolean Commit: f0ca3283b59a839cf4c9efc70dbcbdd242dfd13e https://github.com/Perl/perl5/commit/f0ca3283b59a839cf4c9efc70dbcbdd242dfd13e Author: Dagfinn Ilmari Mannsåker <ilm...@ilmari.org> Date: 2025-07-16 (Wed, 16 Jul 2025) Changed paths: M regcomp.c M regcomp_internal.h Log Message: ----------- RExC_state_t: convert uni_semantics to boolean Commit: 0bb5b35abb2d89aafaeecde44d4871b1dac74caa https://github.com/Perl/perl5/commit/0bb5b35abb2d89aafaeecde44d4871b1dac74caa Author: Dagfinn Ilmari Mannsåker <ilm...@ilmari.org> Date: 2025-07-16 (Wed, 16 Jul 2025) Changed paths: M regcomp.c M regcomp_internal.h Log Message: ----------- RExC_state_t: convert sawback to boolean Commit: 1a0ea8bdcec30f8d325ca7711b8aef2e95f74611 https://github.com/Perl/perl5/commit/1a0ea8bdcec30f8d325ca7711b8aef2e95f74611 Author: Dagfinn Ilmari Mannsåker <ilm...@ilmari.org> Date: 2025-07-16 (Wed, 16 Jul 2025) Changed paths: M regcomp_internal.h Log Message: ----------- RExC_state_t: reorder to eliminate holes Combined with the previous previous commits on this branch this shrinks the size of the struct on a 64-bit Linux non-debugging build from: /* size: 368, cachelines: 6, members: 63 */ /* sum members: 363, holes: 1, sum holes: 4 */ /* padding: 1 */ /* last cacheline: 48 bytes */ to: /* size: 344, cachelines: 6, members: 63 */ /* padding: 5 */ /* last cacheline: 24 bytes */ And on a debugging build from: /* size: 408, cachelines: 7, members: 69 */ /* sum members: 403, holes: 2, sum holes: 5 */ /* last cacheline: 24 bytes */ to: /* size: 384, cachelines: 6, members: 69 */ /* sum members: 379, holes: 1, sum holes: 1 */ /* padding: 4 */ Commit: 5d3d5d734abef59fe8df7ed7d8a29db5ba4b1d83 https://github.com/Perl/perl5/commit/5d3d5d734abef59fe8df7ed7d8a29db5ba4b1d83 Author: Dagfinn Ilmari Mannsåker <ilm...@ilmari.org> Date: 2025-07-16 (Wed, 16 Jul 2025) Changed paths: M regcomp.c M regcomp_internal.h Log Message: ----------- [MERGE] Shrink RExC_state_t struct This converts a bunch of I32 fields in the struct to booleans, and reorders the fields to eliminate holes, taking the size of the struct down from 386 bytes with 4 bytes of holes to 344 bytes with no holes on a 64-bit Linux build. Compare: https://github.com/Perl/perl5/compare/b6ec6bcc8a79...5d3d5d734abe To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications