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

refactor: refactoring matchers.RegexMatcher #143

Merged
merged 2 commits into from
Aug 12, 2023

Conversation

vvatanabe
Copy link
Member

refactoring matchers. L33tMatcher:

  • Applied google-java-format.
  • REGEXEN was changed to PATTERNS, and it now holds Pattern objects. This ensures that the pattern is compiled only once, improving performance.
    The unnecessary Pattern.compile call inside the loop was removed.

@vvatanabe vvatanabe merged commit daa4e5e into master Aug 12, 2023
2 checks passed
@vvatanabe vvatanabe deleted the refactoring-RegexMatcher branch August 15, 2023 07:17
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