Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Batch non-negated ignore rules to improve performance? #41

Open
hauntsaninja opened this issue Jan 1, 2024 · 0 comments
Open

Batch non-negated ignore rules to improve performance? #41

hauntsaninja opened this issue Jan 1, 2024 · 0 comments

Comments

@hauntsaninja
Copy link

hauntsaninja commented Jan 1, 2024

Thanks for the library! I'm curious if you've experimented with batching non-negated rules into a single regex. This would let you loop less in Python and generalise the __can_return_immediately logic in _IgnoreRules

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

No branches or pull requests

1 participant