systemml-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bd2019us (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SYSTEMML-2529) Minor perform boost if you replace replaceAll() with replace()
Date Sun, 21 Apr 2019 02:50:00 GMT
bd2019us created SYSTEMML-2529:
----------------------------------

             Summary: Minor perform boost if you replace replaceAll() with replace()
                 Key: SYSTEMML-2529
                 URL: https://issues.apache.org/jira/browse/SYSTEMML-2529
             Project: SystemML
          Issue Type: Improvement
            Reporter: bd2019us


Since replaceAll() does not use a regex expression, you can use replace() instead and bypass
the performance overhead associated with compiling the replaceAll() regex.

Affected file
 * src/main/java/org/apache/sysml/utils/GenerateClassesForMLContext.java



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message