Skip to content

Better numbering usage + other small updates #130

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Mar 26, 2023

Conversation

eliotwrobson
Copy link
Collaborator

Uses a new counter each time a regex gets parsed. This is useful because parsing multiple regexes could use a large number of states, and having the complexity of the state name increase too much could slow things down.

Also, small changes to iteration logic (using zip-repeat which is faster than product), and isdisjoint for faster set intersection checking.

@coveralls
Copy link

coveralls commented Mar 26, 2023

Coverage Status

Coverage: 100.0%. Remained the same when pulling 91952bd on eliotwrobson:numbering_fix into e9d87b5 on caleb531:develop.

@eliotwrobson eliotwrobson changed the base branch from main to develop March 26, 2023 21:18
Copy link
Owner

@caleb531 caleb531 left a comment

Choose a reason for hiding this comment

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

@eliotwrobson This all looks great to me! Thank you for the PR!

Merging now...

@caleb531 caleb531 merged commit f5ed05a into caleb531:develop Mar 26, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants