[ 
https://issues.apache.org/jira/browse/SPARK-31573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon updated SPARK-31573:
---------------------------------
    Issue Type: Bug  (was: Documentation)

> Use fixed=TRUE where possible for internal efficiency
> -----------------------------------------------------
>
>                 Key: SPARK-31573
>                 URL: https://issues.apache.org/jira/browse/SPARK-31573
>             Project: Spark
>          Issue Type: Bug
>          Components: R
>    Affects Versions: 2.4.5
>            Reporter: Michael Chirico
>            Assignee: Michael Chirico
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to