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:[EMAIL PROTECTED]

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to