
Indeed it works. Thank you so much Tom. Sorry about the false alarm. Regards, Kashyap On Tue, Jun 24, 2014 at 10:02 PM, Tom Ellis < tom-lists-haskell-cafe-2013@jaguarpaw.co.uk> wrote:
On Tue, Jun 24, 2014 at 09:55:21PM +0530, C K Kashyap wrote:
I used unsafeInterleaveIO after I ran into "too many open file handles" error. Again, I doubt about String since even if I change the number of files to 12000 - the perl program finishes in less than a second.
This pull request switching to ByteString brings performance in line with the Perl on my system:
https://github.com/ckkashyap/haskell-perf-repro/pull/1
Tom _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe