fast IO in ghc

Simon Peyton-Jones simonpj@microsoft.com
Wed, 3 Apr 2002 02:03:53 -0800


And, with a lot of help from Koen, I'm about to fold in a
much more efficient implementation of Read, which may help.

Simon

| -----Original Message-----
| From: Hal Daume III [mailto:hdaume@ISI.EDU]=20
| Sent: 03 April 2002 05:36
| To: GHC Users Mailing List
| Subject: fast IO in ghc
|=20
|=20
| I tend to deal a lot with very very large data files in=20
| Haskell and my current approach to dealing with getting data=20
| out of one program an into another is writing it to a file=20
| using 'show' and then reading it in using 'read'. =20
| Unfortunately, this is very slow and produces very large=20
| files which are very slow to read and write.  Is there=20
| another option?  I don't care about H98 compatibility, so if=20
| there's a way to somehow just dump ghc's internal=20
| representation (I also don't care about x-platformness) to a=20
| file and read it back, that would be excellent.  Other=20
| suggestions are welcome too :).
|=20
| --
| Hal Daume III
|=20
|  "Computer science is no more about computers    | hdaume@isi.edu
|   than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume
|=20
| _______________________________________________
| Glasgow-haskell-users mailing list=20
| Glasgow-haskell-users@haskell.org=20
| http://www.haskell.org/mailman/listinfo/glasgow-| haskell-users
|=20