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

Bulat Ziganshin bulat.ziganshin at gmail.com
Mon Sep 22 19:58:31 EDT 2008

Hello Gwern,

Tuesday, September 23, 2008, 3:33:02 AM, you wrote:

>> high-performance code in *most* cases. just for example, try to write wc
>> without using "words"

> <http://haskell.org/haskellwiki/Wc> seems to do fine; you'll notice
> it drops "lines" after the first version.

actually it counts lines using built-in function. you may find that
naive C is 6x fatser than naive Haskell and difference is so small
only because C version is bound by memory speed

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list