Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> A regex benchmark doesn't tell you much of anything…

And yet, the programs don't all perform the same.

One regex task doesn't tell you much of anything because so much can be different with a different task. Then again, people are usually surprised by V8 and Irregexp.

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.



>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?


>>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?tes...

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.


>"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.


>>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.


You 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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: