You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Chirico (Jira)" <ji...@apache.org> on 2020/04/27 07:39:00 UTC

[jira] [Created] (SPARK-31573) Use fixed=TRUE where possible for internal efficiency

Michael Chirico created SPARK-31573:
---------------------------------------

             Summary: 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


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