<br/>
On Mon, May 22, 2006 16:02, Jay Hannah wrote:<br/>
&gt; before:<br/>
&gt;    for ($j = 0; $j &lt; @row; $j++) {<br/>
&gt;       $row[$j] =~ s/[^ -~]//g;<br/>
&gt;       $row[$j] =~ s/\|/:/g;<br/>
&gt;    }<br/>
&gt; <br/>
&gt; after:<br/>
&gt;    for (@row) {<br/>
&gt;       s/[^ -~]//g;<br/>
&gt;       s/\|/:/g;<br/>
&gt;    }<br/>
<br/>
Ok, Jay -- which one is faster?&nbsp; I am pretty sure it's the second
one, but I'm interested in how much.<br/>
<br/>
(Thought I'd ask since you're always benchmarking ...)<br/>
<br/>
Dan<br/>
<br/>
- - - -<br/>
&quot;Wait for that wisest of all counselors, time.&quot; -- Pericles<br/>
&quot;I do not fear computers, I fear the lack of them.&quot; -- Isaac
Asimov<br/>
&quot;Soon we will be able to harness the rotational energy from Orwell's
grave to solve all world energy problems.&quot; -- /. user GigsVT
(208848)<br/>
GPG fingerprint:6FFD DB94 7B96 0FD8 EADF  2EE0 B2B0 CC47 4FDE 9B68