forked from netromdk/vermin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
memoize a "master regex" instead of looping through regex patterns
Add pylint overrides for tests which access the private memoized master regex. I think these tests are necessary if we think memoizing the regex is a useful optimization, but this may well be premature optimization.
- Loading branch information
1 parent
20a2e29
commit 27302a3
Showing
2 changed files
with
109 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters