Skip to content

perf: cache regexp compiles#213

Merged
G-Rath merged 1 commit intomainfrom
cache-regexp
Sep 5, 2023
Merged

perf: cache regexp compiles#213
G-Rath merged 1 commit intomainfrom
cache-regexp

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
@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.

1 participant