You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2020/04/28 08:27:00 UTC
[jira] [Resolved] (SPARK-31573) Use fixed=TRUE where possible for
internal efficiency
[ https://issues.apache.org/jira/browse/SPARK-31573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-31573.
----------------------------------
Assignee: Michael Chirico
Resolution: Fixed
Fixed in https://github.com/apache/spark/pull/28367
> Use fixed=TRUE where possible for internal efficiency
> -----------------------------------------------------
>
> Key: SPARK-31573
> URL: https://issues.apache.org/jira/browse/SPARK-31573
> Project: Spark
> Issue Type: Documentation
> Components: R
> Affects Versions: 2.4.5
> Reporter: Michael Chirico
> Assignee: Michael Chirico
> Priority: Minor
>
> gsub('_', '', x) is more efficient if we signal there's no regex: gsub('_', '', x, fixed = TRUE)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org