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:52:00 UTC
[jira] [Updated] (SYSTEMML-2529) Minor perform boost if you replace
replaceAll() with replace()
[ https://issues.apache.org/jira/browse/SYSTEMML-2529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
bd2019us updated SYSTEMML-2529:
-------------------------------
Attachment: SYSTEMML-2529.patch
> 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
> Priority: Minor
> Labels: pull-request-available
> Attachments: SYSTEMML-2529.patch
>
>
> 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)