Displaying 1 result from an estimated 1 matches for "twomatch".
Did you mean:
tomatch
2008 Oct 31
1
gregexpr slow and increases exponentially with string length --> how to speed it up?
Dear All,
I have a long string and need to search for regular expressions in
there. However it becomes horribly slow as the string length
increases.
Below is an example: when "i" increases by 5, the time spent increases
by more! (my string is 11,000,000 letters long!)
I also noticed that
- the search time increases dramatically with the number of matches found.
- the perl=T option