--- Simon Brenner <[EMAIL PROTECTED]> wrote: > On Mon, Sep 22, 2008 at 2:07 PM, Bulat Ziganshin > <[EMAIL PROTECTED]> 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! _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe