<div dir="ltr">I updated the perl5 and perl6 codes.... as expected there is a 50x difference in performance.<div><br></div><div><a href="https://github.com/mvr707/samples/tree/master/ocpm/2016-feb">https://github.com/mvr707/samples/tree/master/ocpm/2016-feb</a></div><div><br><div><div><br></div><div>[SNIP]<br><div><br></div><div><pre style="overflow:auto;font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:15px;margin-top:0px;margin-bottom:0px;font-stretch:normal;white-space:pre-wrap;color:rgb(51,51,51)">% time perl unscramble.p5 > out5

real    0m0.040s
user    0m0.040s
sys     0m0.000s

% time perl6 unscramble.p6 > out6

real    0m3.169s
user    0m3.100s
sys     0m0.068s

% diff out5 out6
% </pre><pre style="overflow:auto;font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:15px;margin-top:0px;margin-bottom:0px;font-stretch:normal;white-space:pre-wrap;color:rgb(51,51,51)"><br></pre><pre style="overflow:auto;font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:15px;margin-top:0px;margin-bottom:0px;font-stretch:normal;white-space:pre-wrap;color:rgb(51,51,51)">[/SNIP]</pre></div></div></div></div></div>