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

Bryan O'Sullivan bos at serpentine.com
Tue Jun 24 16:19:22 UTC 2014

On Tue, Jun 24, 2014 at 9:08 AM, C K Kashyap <ckkashyap at gmail.com> wrote:

> Essentially I am trying to open a number of files and printing out their
> sized by reading them in and computing it's length.

Don't use String, and don't use unsafeInterleaveIO unless you know what
you're doing.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140624/1b0193ef/attachment.html>

More information about the Haskell-Cafe mailing list