if you look at <a href="http://wikis.sun.com/display/WideFinder/Results" target="_blank">http://wikis.sun.com/display/WideFinder/Results</a>, there is OCaml version with 00:08:12 elapsed time<br>and using regexp instead Boyer-<span>Moore. This is far far away what erlang can do except with specialized mmap ad hoc linked in driver I guess.<br>

If OCaml version upgraded to </span>Boyer-<span>Moore prefix match I guess it can be better but not so much because this task is strong I/O bound.</span><br><br><div class="gmail_quote">On Wed, Jun 11, 2008 at 2:35 PM, Mats Cronqvist <<a href="mailto:mats.cronqvist@gmail.com">mats.cronqvist@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thomas Lindgren wrote:<br>
><br>
> ...I thought the "wide finder" work of<br>
<div class="Ih2E3d">> last fall was pretty interesting. (Likewise for the<br>
> WF2 getting started now.)<br>
><br>
><br>
</div>  i tuned out of that discussion, but i was under the impression that<br>
erlang pretty much... sucked.<br>
  so it was interesting to see Jeff Atwood's summary(*);<br>
<br>
           Slowest      Fastest<br>
Perl <<a href="http://en.wikipedia.org/wiki/Perl" target="_blank">http://en.wikipedia.org/wiki/Perl</a>>         44.29         1.51<br>
Erlang<br>
<<a href="http://en.wikipedia.org/wiki/Erlang_%28programming_language%29" target="_blank">http://en.wikipedia.org/wiki/Erlang_%28programming_language%29</a>><br>
37.58         3.54<br>
Python<br>
<<a href="http://en.wikipedia.org/wiki/Python_%28programming_language%29" target="_blank">http://en.wikipedia.org/wiki/Python_%28programming_language%29</a>><br>
41.04         4.38<br>
OCaml <<a href="http://en.wikipedia.org/wiki/Ocaml" target="_blank">http://en.wikipedia.org/wiki/Ocaml</a>>        49.69        14.64<br>
Ruby <<a href="http://en.wikipedia.org/wiki/Ruby_programming_language" target="_blank">http://en.wikipedia.org/wiki/Ruby_programming_language</a>><br>
1:43.71        50.16<br>
<br>
 mats<br>
<br>
(*) <a href="http://www.codinghorror.com/blog/archives/001131.html" target="_blank">http://www.codinghorror.com/blog/archives/001131.html</a><br>
<div><div></div><div class="Wj3C7c"><br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>--Hynek (Pichi) Vychodil