Thanks, in R-devel 76138, I confirm it speeds up gregexpr() with pcre in
Bill Dunlap's example from
https://stat.ethz.ch/pipermail/r-devel/2017-January/073577.html
(RegExprPCRE column)
The performance problem of StrSplitPCRE does not seem to be due to strlen().
Best
Tomas
On 2/19/19 9:37 PM, T
Hi all,
Several people have noticed that gregexpr is very slow for large subject
strings when perl=TRUE is specified.
-
https://stackoverflow.com/questions/31216299/r-faster-gregexpr-for-very-large-strings
-
http://r.789695.n4.nabble.com/strsplit-perl-TRUE-gregexpr-perl-TRUE-very-slow-for-long-str