Skip to content

Comments

Performance fix - compile pattern only once and reuse#15

Open
and1x0 wants to merge 1 commit intoSkillPanel:masterfrom
and1x0:master
Open

Performance fix - compile pattern only once and reuse#15
and1x0 wants to merge 1 commit intoSkillPanel:masterfrom
and1x0:master

Conversation

@and1x0
Copy link

@and1x0 and1x0 commented May 7, 2024

From java doc java.util.regex.Pattern.matches
"If a pattern is to be used multiple times, compiling it once and reusing it will be more efficient than invoking this method each time."

From java doc java.util.regex.Pattern.matches
"If a pattern is to be used multiple times, compiling it once and reusing it will be more efficient than invoking this method each time."
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