4 ms·
>And yet, the programs don't all perform the same. Because they don't all use pcre. Duh? >The GHC version has been updated so many times since the last progr
by imanaccount247 12y ago
>And yet, the programs don't all perform the same.
Because they don't all use pcre. Duh?
>The GHC version has been updated so many times since the last programs were contributed, that I hope the code would look better if it was written to use the latest greatest Haskell.
Why on earth would the code change because of a new compiler release? Do people rewrite the C one every time a new GCC is released? And the code looks fine, what "better" do you want?
- igouy 12y ago>>Because they don't all use pcre. Duh?<< "Duh?" because you haven't looked at the code? http://benchmarksgame.alioth.debian.org/u64q/program.php?test=regexdna&lang=go&id=2 http://benchmarksgame.alioth.debian.org/u64q/program.php?tes... http://benchmarksgame.alioth.debian.org/u64q/program.php?test=regexdna&lang=go&id=7 http://benchmarksgame.alioth.debian.org/u64q/program.php?tes... >>Why on earth would the code change because of a new compiler release?<< New GHC releases (and libraries) have in the past provided new ways to write the code. >>what "better" do you want?<< Any "better" that 6 or 7 releases has provided.
- imanaccount247 12y ago>"Duh?" because you haven't looked at the code? Me: "Not all use pcre" You: "Two that use pcre" What on earth is that supposed to show? >Any "better" that 6 or 7 releases has provided. You have some weird ideas about haskell/ghc.
- igouy 12y ago>>What on earth is that supposed to show?<< Those two that both use pcre don't perform the same. >>You have some weird ideas about haskell/ghc.<< If I have, I got them from seeing programs being re-written when new stuff became available.
- imanaccount247 12y agoYou got them from seeing someone writing a faster version. The part where you thought it had anything to do with "new stuff" is entirely your own imagination