[Haskell-cafe] Climbing up the shootout...
bulat.ziganshin at gmail.com
Mon Sep 22 19:58:31 EDT 2008
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
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Haskell-Cafe