On Tue, Sep 28, 2004 at 12:01:11PM +0200, Tomasz Zielonka wrote: > On Tue, Sep 28, 2004 at 10:46:14AM +0100, Keith Wansbrough wrote: > > I just saw this on the OCaml list (in a posting by "Rafael 'Dido' > > Sevilla" <[EMAIL PROTECTED]> in the "Observations on OCaml vs. Haskell" > > thread). I can't believe that a simple "wc" implementation should be > > 570 times slower in Haskell than OCaml - could someone investigate and > > fix the test? > > No wonder it is so slow, this program looks as a result of some ,,as > slow as possible'' contest ;)
It took me half an hour to make a version which is 41 times faster on a 5MB file. It should be possible to make it even 2-3 times faster than this. Best regards, Tom -- .signature: Too many levels of symbolic links _______________________________________________ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe