in reply to Re: Regex combining /(foo|bar)/ slower than using foreach (/foo/,/bar/) ???
in thread Regex combining /(foo|bar)/ slower than using foreach (/foo/,/bar/) ???
Using index isn't an option here the program I delivered is an tailored down to verify the original problem.
The original problem is that I have THOUSANDS of Regexes to match and replace (not just fixed strings like /foo/ ) in a string that is a few hundred k'Bytes long.
Any further suggestions - Jolly
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Regex combining /(foo|bar)/ slower than using foreach (/foo/,/bar/) ???
by kvale (Monsignor) on Feb 18, 2005 at 16:44 UTC |