You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "bd2019us (JIRA)" <ji...@apache.org> on 2019/04/21 02:50:00 UTC

[jira] [Created] (SYSTEMML-2529) Minor perform boost if you replace replaceAll() with replace()

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)