
22 Sep
2008
22 Sep
'08
7:58 p.m.
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@gmail.com