Displaying 1 result from an estimated 1 matches for "strsplittr".
Did you mean:
strsplittre
2017 Jan 06
0
strsplit(perl=TRUE), gregexpr(perl=TRUE) very slow for long strings
...mes gsub, strsplit, and gregexpr, with
perl TRUE (PCRE) and FALSE (TRE), when the input string contains 'n'
matches to the given pattern. Notice the quadratic (in n) time growth
for the StrSplitPCRE and RegExprPCRE columns.
> regex.perf.test(N=2^(11:20))
N SubTRE SubPCRE StrSplitTRE StrSplitPCRE RegExprTRE RegExprPCRE
elapsed 2048 0.00 0.00 0.00 0.00 0.00 0.00
elapsed 4096 0.00 0.00 0.01 0.00 0.00 0.00
elapsed 8192 0.00 0.00 0.00 0.01 0.00 0.01
elapsed 16384 0.02...