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

Don Stewart dons at galois.com
Mon Sep 22 14:32:05 EDT 2008


igouy2:
> 
> --- 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!
> 

All is in hand. Tim Newsham's uploaded a regex-pcre and regex-posix
entry to the wiki, and I'm testing now on quad core. If it survives
testing, we'll submit it to Isaac.

-- Don


More information about the Haskell-Cafe mailing list