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/) ???
It feels like on those old VAX systems where you could program in assembler some operations faster with simpler ops. One of the reasons RISC was introduced.
If Perl gives me the possiblity of using a 'nice' small solution (/foo|bar/) I always thought I should be able to program a faster solution with a perl PROGRAM ( the for loop ).
But that's just propably my understanding of how things should work.
Jolly - thanx for u'r time.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Regex combining /(foo|bar)/ slower than using foreach (/foo/,/bar/) ???
by hardburn (Abbot) on Feb 21, 2005 at 14:21 UTC |