On Tue, Sep 15, 2009 at 10:25 PM, Cristiano Paris <fr...@theshire.org> wrote:
> ...
> Two points:
>
> 1 - I had to cut off file1.txt to be just above 1024 bytes otherwise
> the program becomes extremely slow even on a 100KB file with a line
> being output every 5 seconds and with my CPU being completely busy
> (I'm using a modern MacBook Pro).

GC in charge here. Using "foldl" resolves the problem. Maybe too many
thunks are being created on the stack...

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

Reply via email to