[Haskell-cafe] Climbing up the shootout...

Isaac Gouy igouy2 at yahoo.com
Mon Sep 22 14:27:03 EDT 2008


--- Simon Brenner <olsner at gmail.com> wrote:

> On Mon, Sep 22, 2008 at 2:07 PM, Bulat Ziganshin
> <bulat.ziganshin at gmail.com> wrote:
> > this overall test is uselles for speed comparison. afair, there are
> > only 2-3 programs whose speed isn't heavily depend on libraries. in
> > DNA test, for example, Tcl (or PHP?) was leader just because it has
> > better regexp library
> 
> On the regex-dna benchmark, I'll have to agree. It's unfortunate to
> have a benchmark so dependent on the set of libraries included in the
> distribution, and e.g. Text.Regex.PCRE kicks Text.Regex.Posix's
> behind
> in this benchmark - but we probably can't use it only because one's
> bundled and the other isn't. Maybe we could roll our own regexp
> engine
> for this specific benchmark though (for example, Text.Regex.TDFA is
> within 10% or something of PCRE and AFAIK pure Haskell - a customized
> and downsized version of that could probably be made quite
> competitive).

You could always suggest use of Text.Regex.PCRE, provide a program and
instructions on how to install Text.Regex.PCRE on Ubuntu.


-snip-
> With bytestrings, unboxed arrays, light-weight threads and other
> tricks, we can usually replace all those ugly low-level programs with
> nice high-level haskell ones ...

Go do!


      


More information about the Haskell-Cafe mailing list