[Haskell-cafe] strict bytestring fun

Donald Bruce Stewart dons at cse.unsw.edu.au
Thu Feb 1 23:26:48 EST 2007


High performance strings on the shootout:

http://shootout.alioth.debian.org/gp4/benchmark.php?test=sumcol&lang=all

interesting alternative programs
0.5   Haskell GHC #5          1.29            90,880        270

1.0   Clean                   2.77            600           136
2.0   C gcc                   5.64            444           159
2.1   D Digital Mars #2       5.85            700           153
2.3   C++ g++ #2              6.46            848           244

Ah well, its illegally strict, but its good to know you can do it, eh?

(A lazy bytestring version has been submitted, we'll see how that runs).

-- Don


More information about the Haskell-Cafe mailing list