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

C K Kashyap ckkashyap at gmail.com
Tue Jun 24 16:46:03 UTC 2014


Does mapM work for you? Don't you run into too many files open error?
Regards,
Kashyap


On Tue, Jun 24, 2014 at 10:11 PM, Tom Ellis <
tom-lists-haskell-cafe-2013 at jaguarpaw.co.uk> wrote:

> On Tue, Jun 24, 2014 at 10:07:32PM +0530, C K Kashyap wrote:
> > Indeed it works. Thank you so much Tom.
> > Sorry about the false alarm.
>
> Interestingly with `mapMI` it is twice as fast as with `mapM`.  I haven't
> dug futher into that but at least you're getting reasonable speeds yet so
> you can decide how important that is to you.
>
> Tom
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140624/a87690f1/attachment.html>


More information about the Haskell-Cafe mailing list