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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org