[Haskell-cafe] Need help - my haskell code is over 50 times slower than equivalent perl implementation

Tom Ellis tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk
Tue Jun 24 16:33:17 UTC 2014


On Tue, Jun 24, 2014 at 12:29:38PM -0400, Brandon Allbery wrote:
> On Tue, Jun 24, 2014 at 12:25 PM, C K Kashyap <ckkashyap at gmail.com> wrote:
> > I used unsafeInterleaveIO after I ran into "too many open file handles"
> > error.
> 
> That all by itself makes me think your problem is elsewhere and
> unsafeInterleaveIO is just covering it up.

Yes, it's doing lazy IO.



More information about the Haskell-Cafe mailing list