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

perf: cache regexp compiles #213

Merged
merged 1 commit into from Sep 5, 2023
Merged

perf: cache regexp compiles #213

merged 1 commit into from Sep 5, 2023

Conversation

G-Rath
Copy link
Owner

@G-Rath G-Rath commented Sep 5, 2023

This should only really be noticable when using the detector against a lot of the same kind of files which is more likely if its being used as a library, but this is still a nice optimization since the worse-case should be "same speed"

@G-Rath G-Rath merged commit 48310bb into main Sep 5, 2023
8 checks passed
@G-Rath G-Rath deleted the cache-regexp branch September 5, 2023 21:30
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.

None yet

1 participant