
15 Sep
2009
15 Sep
'09
8:30 p.m.
On Tue, Sep 15, 2009 at 10:25 PM, Cristiano Paris
... 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