[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 17:07:32 UTC 2014
On Tue, Jun 24, 2014 at 05:53:29PM +0100, Tom Ellis wrote:
> On Tue, Jun 24, 2014 at 10:16:03PM +0530, C K Kashyap wrote:
> > Does mapM work for you? Don't you run into too many files open error?
>
> It works. No error.
[...]
Oh by the way, you should compile with `-O2` so that strictness analysis
kicks in. Nicolas Trangez approaches this issue with an explicit `seq`
instead.
Tom
More information about the Haskell-Cafe
mailing list