Keep It Simple, Stupid | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
exactly. Problem for me is, that if I've got a soulution in the language I use it as it is hopefuly perfectly optimized.
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. In reply to Re^2: Regex combining /(foo|bar)/ slower than using foreach (/foo/,/bar/) ???
by Anonymous Monk
|
|