Closed andrus closed 6 years ago
Noticed that java.util.regex.Pattern is created millions of times during a simple LM run. Looks like the culprit is String.replace(..) in PathNormalizer. We must change that to a simple substring.
java.util.regex.Pattern
String.replace(..)
PathNormalizer
Wow. Nice catch and fix. Kudos.
Noticed that
java.util.regex.Pattern
is created millions of times during a simple LM run. Looks like the culprit isString.replace(..)
inPathNormalizer
. We must change that to a simple substring.