I wrote something a while back to do this more quickly:

  
http://montev.isi.edu:8000/hdaume/download.pl?request=haskell/FastIO.tar.gz

I'm not sure if it still works or not with the latest GHC, but it 
shouldn't be too hard to migrate it up.

 - Hal

On Thu, 23 Jun 2005, Jim Apple wrote:

> I'm having an IO speed problem. I need to input a long string of known 
> length and process it with a foldl. getLine and foldl take way too long; 
> is there a known faster way?
> 
> Jim
> 
> _______________________________________________
> Glasgow-haskell-users mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
> 

-- 
 Hal Daume III                                   | [EMAIL PROTECTED]
 "Arrest this man, he talks in maths."           | www.isi.edu/~hdaume

_______________________________________________
Glasgow-haskell-users mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to