in reply to Re: RE performance
in thread RE performance

This sounds logic, but this next test, still shows more or less 20% difference.
for($i=0;$i<100000;$i++){ if("test$i" =~ /(dest|\d)/){ # do stuff; } } for($i=0;$i<100000;$i++){ if("test$i" =~ /dest/ || "test$i" =~ /\d/){ # do stuff; } }