Skip to content

Conversation

@zherczeg
Copy link
Collaborator

@zherczeg zherczeg commented Dec 21, 2024

This should be the last patch of this work. All [class]{a,b}+/?/nothing now compiles [class] once. In the past a [class]+ may compiled three times, which consumed a large space for some eclasses.

@zherczeg
Copy link
Collaborator Author

I did some perf measurements and the new code has a very similar speed as the old. Code size is lower, that is the advantage.

Copy link
Member

@NWilson NWilson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, it's great to have them all matching, and all avoiding code bloat.

@zherczeg zherczeg merged commit 3b11f31 into PCRE2Project:master Dec 22, 2024
31 checks passed
@zherczeg zherczeg deleted the nongreedy_repeat branch December 22, 2024 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants